Posted By

happymadness on 03/20/10


Tagged

convert gm


Versions (?)

Convert image


 / Published in: Bash
 

  1. find . -name "*.jpg" -print | while read ORIGINAL_FILE
  2. do
  3. TARGET_FILE=$(echo "$ORIGINAL_FILE" | sed -e 's/\.jpg$/\.gif/')
  4. gm convert "$ORIGINAL_FILE" "$TARGET_FILE"
  5. done

Report this snippet  

Comments

RSS Icon Subscribe to comments
Posted By: happymadness on March 20, 2010

For Jean-Luc

You need to login to post a comment.