How to avoid upscaling very small images when thumbnailing
Posted: 2010-07-02T08:48:54-07:00
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
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