def cropped_and_resized(size)
      normalized do |image|
        if record.cropped? || size != record.size
          image.crop(image_sizing.crop_geometry_string(size))
          image.resize(size)
        end
      end
    end
def cropped_and_resized(size)
      normalized do |image|
        if record.cropped? || size != record.size
          image.crop(image_sizing.crop_geometry_string(size))
          image.resize(size)
        end
      end
    end
Crops and resizes the image. Normalization is performed as well.

 ==== Example

   processed = DynamicImage::ProcessedImage.new(image)
   image_data = processed.cropped_and_resized(Vector2d.new(200, 200))

 Returns a binary string.