Advertisement
tymonr

image_iso2cart.sh

Feb 11th, 2020
209
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 0.20 KB | None | 0 0
  1. #!/bin/bash
  2.  
  3. mkdir -p flatted
  4.  
  5. for image_file in *.png ; do
  6.     convert "$image_file" -alpha set -background none -scale 100%x175% -rotate 45 -trim "flatted/$(basename $image_file .png).png";
  7. done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement