Skip to content

Instantly share code, notes, and snippets.

@ryanbateman
Created January 16, 2013 21:31
Show Gist options
  • Save ryanbateman/4551135 to your computer and use it in GitHub Desktop.
Save ryanbateman/4551135 to your computer and use it in GitHub Desktop.
for filename in *.RW2 ; do dcraw -c -w -v $filename | pnmtopng > pngs/$filename.png ; done
convert *.png -resize 50% -set filename:f '%t_magnify.%e' +adjoin '%[filename:f]'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment