Status: Convert PDFs to PNGs

It turns out that Excel can’t export to anything but PDFs. Not very useful. Not when I’m trying to make a series of tables and charts for an essay in LaTeX and I want a collection of PNGs. The quick way to do a batch convert from the command line uses sips:

for i in *pdf; do sips -s format png $i –out `basename $i .pdf`.png; done

Someone else added this:

mkdir pngs; sips -s format png *.jpg –out pngs

The documentation is [here](https://developer.apple.com/library/mac/#documentation/Darwin/Reference/ManPages/man1/sips.1.html).

(Visited 12 times, 1 visits today)

Leave a Reply