Covert eps files to jpg in Linux

0 views
Skip to first unread message

Leon Zhang

unread,
May 16, 2009, 8:12:04 PM5/16/09
to linux Blog, bb...@live.cn, bb...@yahoo.cn, dd...@live.cn, dd...@yahoo.cn, rr...@yahoo.cn, rr...@ymail.com, 51.m livecn, allback Yahoo, friendfeed rui, Rui, rui zenbe, GoogleGroup日记, r01ustc...@blogger.com, r01ust...@blogger.com, rleon...@spaces.live.com, rui21...@blogger.com, GoogleGroups 杂七杂八, hktk posterous, scribblelive.天天向上, 海阔天空Blog
To convert from eps to jpg using ghostscript:

gs -sDEVICE=jpeg -dJPEGQ=100 -dNOPAUSE -dBATCH -dSAFER -r300
-sOutputFile=myfile.jpg myfile.eps

This produces huge files. You can trim and resize them in image magick:

mogrify -trim -resize 800x600 myfile.jpg

Reply all
Reply to author
Forward
0 new messages