Last active
March 22, 2020 08:50
-
-
Save syuntoku14/d82855359eb37202e4b922f69ec947d6 to your computer and use it in GitHub Desktop.
Convert to eps
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for file in *.png; do | |
convert $file eps2:${file%.*}.eps ; | |
done | |
for file in *.jpg; do | |
convert $file eps2:${file%.*}.eps ; | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for file in *.pdf; do | |
convert -define profile:skip=ICC -density 150 $file -quality 90 ${file%.*}.png ; | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for infile in *.svg ; | |
do inkscape $infile -E ${infile%.*}.eps --export-ignore-filters --export-ps-level=3 ; | |
done; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment