I developed something to get my 5 megapixel photos of documents and make them more "printable" like photocopies.
First a tried:
Code: Select all
"convert %1 -monitor -normalize -colorspace gray -negate -blur 0x1 -edge 3 -negate -blur 0x1 -threshold 50%% %1_text.gif"
After some research I got this page, that explains "-lat" with examples.
and tried
Code: Select all
"convert %1 -monitor -normalize -colorspace gray -lat 7x7-3%% %1_xerox_foto.gif"
The "GIMP/Artistic Filters/Photocopy" would be perfetc. Does anyone knows the recipe?