ImageMagick -filter suggestion

Fedora User fedoradch at gmail.com
Sun Oct 28 17:18:03 UTC 2012


We start with the available filters: 
# convert -list filter
Bartlett
Blackman
Bohman
Box
Catrom
Cubic
Gaussian
Hamming
Hanning
Hermite
Jinc
Kaiser
Lagrange
Lanczos
LanczosSharp
Lanczos2
Lanczos2Sharp
Mitchell
Parzen
Point
Quadratic
Robidoux
Sinc
SincFast
Triangle
Welsh

I haven't the first clue how to compare all of these so here is what I
am trying to accomplish in a script for repeated usage:

I have an image that is mostly text. I am trying to reduce the size of
the image to a fixed width (usually about 20%) while keeping the text as
readable as possible.

If I do this in GIMP, "cubic" will not produce the desired result.
Lanczos comes close. I assume that I can get even closer with "convert."
Slow is fine. Can some kind sole, more clever with graphics than I am,
suggest the -filter * that I am looking for?

TIA



More information about the users mailing list