Hello, this seems like it should be a simple thing to do, but I can't find any examples anywhere.
I'm using the following command to thumbnail images
-quality 100 "$source" -thumbnail "100x100" "$dest"
But I want to skip any images which are smaller than 100x100, otherwise it seems to upscale small images to fit.
Thanks in advance.
Pete
How to avoid upscaling very small images when thumbnailing
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: How to avoid upscaling very small images when thumbnaili
See IM Examples, Resize - only shrink larger images
http://www.imagemagick.org/Usage/resize/#shrink
http://www.imagemagick.org/Usage/resize/#shrink
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/
Re: How to avoid upscaling very small images when thumbnaili
That's done the trick.
Cheers guys.
Pete
Cheers guys.
Pete