code: def convert(self, im):
          
          _im = im
          if self.image_property:
              _im = self.image_property.convert(im)
  
          return _im
docs: Please override this method if you want to resize/grascale the image.