[system] / trunk / xmlrpc / daemon / scripts / png2eps Repository:
ViewVC logotype

Annotation of /trunk/xmlrpc/daemon/scripts/png2eps

Parent Directory Parent Directory | Revision Log Revision Log


Revision 279 - (view) (download)

1 : gage 279 #!/bin/sh
2 :    
3 :    
4 :     PATH=$PATH:/usr/X11/bin
5 :    
6 :     ## /usr/X11/bin contains giftopnm, pnmdepth, and pnmtops
7 :    
8 :     umask 022
9 :     # echo $1 "is the path to the pngSourceFile"
10 :     # echo $2 "is the path to the eps file which is being created"
11 :    
12 :     # cat $1 | giftopnm | pnmdepth 1 | pnmtops -noturn > $2
13 :     cat $1 | pngtopnm | pnmdepth 1 | pnmtops -noturn 2>/dev/null > $2
14 :    
15 :     # if there is an error in running these conversions
16 :     # an error will be signaled and caught by alias
17 :    
18 :     # [MEG 9/12/99] as an experiment I'm redirecting the error so that it doesn't wind up
19 :     # cluttering the error log. Hopefully enough errors will come through none the less.

aubreyja at gmail dot com
ViewVC Help
Powered by ViewVC 1.0.9