: Command line interface-based way to desaturate and posterize an image? This is by far my most common task, and I'd say I've wasted about 1000 mouse clicks on it in my raster-based program.
This is by far my most common task, and I'd say I've wasted about 1000 mouse clicks on it in my raster-based program.
Because it's so common for me to start off desaturating an image and then posterizing it, I'd like to write a shell script that does the same, that way I can process an entire directory automagically and simply get on with my work... There are only so many hours in the day. If I can make my computer do all the mouse clicks for me, go away and drink a few cups of coffee while it does so, then come back to it, that's infinitely better for me.
So how can I accomplish these two tasks using the CLI?
More posts by @Sherry646
2 Comments
Sorted by latest first Latest Oldest Best
ImageMagick is the most awesome and powerful CLI image editing tool I know. It runs on most operating systems.
For desaturation, it looks like a -colorspace gray is the tool of choice but desaturation is apparently a more complex topic than one might think. There is a discussion on the right method(s) here
There are examples for posterizing in the docs:
Using the -posterize parameter
Color quantization main chapter
This is typically called batch processing and GIMP supports it. More info:
www.gimp.org/tutorials/Basic_Batch/
Terms of Use Create Support ticket Your support tickets Stock Market News! © vmapp.org2024 All Rights reserved.