Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

I love ImageMagick but I can't believe there's only one feel facto cli image processing tool. Do people know of others?


I prefer the PHP version of ImageMagick as PHP is a better scripting tool than 'cli'. The manual is a bit hard to follow as things are essentially undocumented. However, if you want to carefully prepare a batch of images, going to PHP is taking it to the next level.

Particularly interesting are features such as being able to save images in different colour spaces, e.g. 4:2:0, going lo-res on the chroma for a lower ultimate file size in jpg.

If I had a lifetime spare I would complete the PHP Imagick documentation and write a version of Fred's scripts in PHP, so they can be chained together in a nifty object oriented way...


I agree. I think ImageMagick is available as a library too for other languages


I use VIPS

https://jcupitt.github.io/libvips/API/current/using-cli.html

Much better performance and better image format support for my use.

It also has a gui

https://github.com/jcupitt/nip2


The GitHub wiki for VIPS has a page [1] very relevant to GP's question. It lists two dozen alternatives to VIPS (both command line tools and libraries) and compares how they performed on a load-crop-scale-apply convolution-save task. The source code for each implementation of the task is right there on the page.

[1] https://github.com/jcupitt/libvips/wiki/Speed-and-memory-use


Thanks!


There is gmic, http://gmic.eu

It is quite powerful though somewhat eccentric.

I once developed some scripts to use it to "develop" jpg from raw images, see https://github.com/claes/gmic-extensions


I second that. G'MIC has an impressive bunch of built-in commands to manipulate images, see e.g. the examples shown in the reference documentation (click the first magnifying glass, then use right arrow on the keyboard):

http://gmic.eu/reference.shtml#subsection15

And as the commands are built-in, no needs for external scripts, those effects are available from any interface using the `libgmic` API (including C/C++ programs).


There is the netpbm toolset:

http://netpbm.sourceforge.net/



graphicsmagick is a fork that’s been going for a while




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: