class ImageProcessing::MiniMagick::Processor

def resize_to_limit(width, height, **options)

Resizes the image to not be larger than the specified dimensions.
def resize_to_limit(width, height, **options)
  thumbnail("#{width}x#{height}>", **options)
end