Tag Info

New answers tagged

1

One difference I believe is that Indentify reads the whole image file into memory and then extracts the EXIF data. I don't think exiftool has to do that because it is only getting the EXIF/IPTC metadata. I'm not sure how much metadata Identify understands. Exiftool is specifically designed to handle not only EXIF metadata but also IPTC and XMP amongst ...


1

"If a field has color, I want to convert it to black." The following should work: convert <input> -negate -threshold 0 -negate <output> Source Threshold Dithering Methods Threshold Images The simplest method of converting an image into black and white bitmap (to color) image is to use -threshold. This is actually a simple ...


1

Dithering is clearer and more fax-like than a threshold cutoff: convert <input> -monochrome <output> For a less contrasty but more information-preserving kind of dithering, use: convert <input> -remap pattern:gray50 <output> (Docs)


0

I could not figure out how to convince convert to only add the metadata and not re-encode my [monochrome] bitmap; it was expanding the file >50%. I discovered that pngcrush (not an ImageMagick tool) can also add the density metadata. This command line marks it 600dpi and allows other optimizations, which reduced the file size by ~10%: pngcrush -res 600 ...


0

Had trouble getting ImageMagick to build correctly with png support on 10.10 myself, so I just used the installer from http://cactuslab.com/imagemagick/ which includes png support. (installs in /opt)


1

I had a very similar problem in that I wanted to add bleed pixels around my image for printing purposes. My problem was simpler because I just wanted to do it to the whole image, not tiled images. Anyway, here it is: Starting with this 32x32 pixel image: to this 70x70 version: convert tree.gif -set option:distort:viewport 70x70-19-19 \ ...


0

I solved the problem by using Ghostscript instead of Imagemagick: gs -dNOPAUSE -dBATCH -sDEVICE=jpeg -dJPEGQ=90 -r117 -dTextAlphaBits=4 -tGraphicsAlphaBits=4 -sOutputFile="progit-%03d.jpg" "progit.pdf" The resulting images consume a lot less memory now, and the image quality is awesome.



Top 50 recent answers are included