Resize large images with mogrify (ImageMagick) but leave small images unaffected
Images can be resized making use of mogrify from the ImageMagick collection:
mogrify -resize 256x256 *.jpg
But this will certainly resize photos to make sure that the biggest measurement is 256px, consisting of photos that are smaller sized than 256px to start with (like 100x100px characters).
Just how can I exclude the smaller sized photos from being influenced? i.e. I desire the biggest measurement to be no greater than 256px
(Preferably I will certainly have the ability to do this with ImageMagick collection, or at the very least without mounting anything added).