Thanks in advance
Raj Sekhar
Sent via Deja.com http://www.deja.com/
Share what you know. Learn what you don't.
well, for me:
gv /usr/local/share/ghostscript/5.10/examples/colorcir.ps
shows a color image, and,
xwd -out /tmp/tst.wd
gimp /tmp/tst.wd
shows a color image, but,
xwd -out /tmp/tst.wd
xpr -device ps -output /tmp/tst.ps /tmp/tst.wd
gv /tmp/tst.ps -landscape -swap
shows a black and white image.
therefore, I'm pointing my finger at xpr not producing a color ps in the
first place. So you need something else besides xpr to make the ps, and
this may mean you need something other than xwd to grab the image unless
you can find another scriptable util that can read xwd output. Look into
ImageMagic for starters, and maybe gimp or xv can be run
non-interactively too. both of those can read xwd files, and output
color ps files. but it requires mouse clicks from a human being.
--
Brian~