imagemagickthumbnailsutilityfreeimagegraphicsmagick

Lightweight command-line image resizer?


I'm looking for an image resizer / thumbnailer that is lightweight and efficient. Something that does a good job with all image types, but most importantly jpeg and png.

I've looked into ImageMagick and GraphicsMagick, but they are too heavy. This is something I want to distribute with my app, so the smaller the better. I don't need all the functionality of *Magick, just simple resizing.

I've found the FreeImage library which people seem to like as a light library. Does anyone know if there's a simple command-line utility that wraps FreeImage?


Solution

  • Have a look at the netpbm toolkit, the toolkit is just a bunch of small single purpose command line programs that you wire together using pipes. You might be able to find what you need in there.