From mboxrd@z Thu Jan 1 00:00:00 1970 To: 9fans@cse.psu.edu From: okamoto@granite.cias.osakafu-u.ac.jp MIME-Version: 1.0 Mime-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit Message-Id: <20011130042610.EED9C199D5@mail.cse.psu.edu> Subject: [9fans] pic2ps Date: Fri, 30 Nov 2001 13:27:39 +0900 Topicbox-Message-UUID: 2dbe943e-eaca-11e9-9e20-41e7f4b1d025 I put a small program to convert uncompressed Plan 9 image(6) to Level 2 Postscript on our usual web site (http://basalt.cias.osakafu-u.ac.jp/plan9/p9index.html). It converts uncompressed color mapped 8 bit, 24/32 bit full color image(6) to one of DeviceRGB, DeviceCMYK, DeviceGray of Level 2 Postscript colorspaces. It reads Plan 9 image from stdin, and writes to stdout, the latter can be overwritten by a named file supplying -f flag. Other options are those of -c , -w , -h , -x , -y , and -s . Only the A4 papersize is now supported. The option -l indicates landscape mode. A typical usage of this program is: cat /dev/wsys/7/window | pic2ps -c CMYK -w 12.5 -h 20 -x 1.0 -y 1.5 | lp -dOki Of course, you can use ghostscript, too. Kenji