Skip to content

Instantly share code, notes, and snippets.

@dymio
Created November 27, 2014 09:30
Show Gist options
  • Save dymio/6195e6bc75b5c4d866cf to your computer and use it in GitHub Desktop.
Save dymio/6195e6bc75b5c4d866cf to your computer and use it in GitHub Desktop.
Image Magick Hints
#!/bin/bash
# convert all .png in curent folder to .jpg with white background and resizing
find . -name "*.png" -exec convert {} -resize 1046x -background white -flatten {}.jpg \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment