Arts marketer by day, out-of-hours llama wrangler to the stars by night.

Filter content by

digital media · pictures · videos · weird · interesting · the past · the present · the future · the arts · tips

Even more

Wishlist · About this · Google · Validate · Licensing

More posts

Batch-converting EPS to PNG on OS X

Get homebrew, if you don't have it.

ruby <(curl -fsSkL raw.github.com/mxcl/homebrew/go)

Install Imagemagick.

brew install imagemagick

Install ghostscript.

brew install ghostscript

Navigate to the folder where your EPS files are, and do:

mogrify -geometry 2000x2000 -density 2000 -alpha on -format png *.eps

...where 2000 is the maximum width/height you want the output PNG files to be.

Batch-converting WAV to MP3 with LAME in bash

I had a bunch of WAVs I wanted to convert to MP3. I also had LAME (installed in a few moments via homebrew). This is, for my own reference, what I did to convert the files in one go:

for i in *.wav; do lame -b 192 -hV 1 "$i"; done

(Duh. But I'm sure I'll be looking it up again one day.)

BONUS UPDATE: Batch-converting FLAC to MP3 with ffmpeg:

for f in *.flac; do ffmpeg -i "$f" -ab 320k "${f%.flac}.mp3"; done

(courtesy of this thread)

Emoji

Apple provides access to a large range of Japanese emoticons, or 'Emoji', from most apps under OS X.

I'm not sure what the 7th one down on the left is doing under the 'People' category.