title: How to convert new images to fashion-mnist data set images format?
body: <p>I have a neural network model which is trained on fashion-MNIST data set.
  Now i'm predicting ,using the model ,some new random images (from google) and want to convert them to the same format as the images from the fashion-MNIST 
  data set.
  Can someone please provide me python code/functions that can help me do that ? 
  Thank you.</p>
  
  <p>I know that the format of the images from the data set is 28X28 pixels,grey-scale.
  What i don't know, is how to convert new images to the same format exactly.
  So that the model will predict those new images properly.</p>