Last active
August 29, 2015 14:05
-
-
Save ooharak/9346ff235e380daf665d to your computer and use it in GitHub Desktop.
AWSシンプルアイコンをGraphviz等で使うときのTIPS ref: http://qiita.com/ooharak/items/12c3c812c2a30753f52e
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
$ find ~/Downloads/AWS_Simple_Icons_svg_eps/ -name '*Load\ Balancing.eps' -exec cp {} elb-org.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
$ dosepsbin --eps-file elb.eps elb-org.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 n in *.eps; do gs -dNOPAUSE -dBATCH \ | |
-q -sDEVICE=pngalpha -dEPSCrop -sOutputFile=- -r72 $n \ | |
| convert -trim - ${n%eps}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
./epstrim.sh elb.eps | \ | |
gs -dNOPAUSE -dBATCH -q -sDEVICE=svg -dEPSCrop -sOutputFile=out.svg - |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment