Tag Archives: imagemagick

Two types of pngs

I recently learned that there are basically two different types of png images – indexed and truecolor. Most pngs you find on the internet are probably the truecolor type. The truecolor type uses an rgb format, so each pixel is represented by either 24 bits (8 bit channel depth * 3 channels), or 48 bits […]

Posted in (x)html, photography | Tagged , | 2 Comments

Reading iptc captions from jpegs with imagemagick

Rob and Spencer with zebras Once again I found myself needing to use imagemagick to do something, and was overwhelmed by the many options. After much fiddling around, I found out some options that worked for me. In this case, I wanted to extract iptc captions from images, so that I could then insert the […]

Posted in linux, photography, wordpress | Tagged , , , , | 1 Comment

convert pdf to png with imagemagick

Imagemagick is a swiss-army knife of command-line image conversion, but can be a bit complicated to actually use. I have been making most of my figures with R lately, and printing them to pdfs, which I can include very easily into documents with pdflatex. I like pdf because it is scalable, fairly small file size […]

Posted in linux, mac osx | Tagged , , , , | 24 Comments