code: def resize(self):
          
          resized_size = self.get_resized_size()
          if not resized_size:
              return
  
          self.image = self.image.resize(resized_size, Image.ANTIALIAS)
docs: Get target size for a cropped image and do the resizing if we got
          anything usable.