Reputation: 23311
I am using ImageMagick via Symfony to resize images in PHP.
The sfThumbnailer class uses 'scale' and 'inflate' parameters to interface with ImageMagick. What do they do and how will they affect my results?
I realise this is a RTM question, but I already have, and the documentation is not clear.
Symfony Thumbnail Documentation
Thanks.
Upvotes: 1
Views: 462
Reputation: 14895
Scale
Scale maintains aspect ratio. If set, then aspect will be maintained.
Inflate
Inflate tells script to scale image upward if required. I.e. if set true, then it might increase the width or height if the given width and height are bigger than original width and height.
Upvotes: 2