comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: 8-bit Postscript problem (Will IDL and color Postscript *ever* get along?)
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: 8-bit Postscript problem (Will IDL and color Postscript *ever* get along?) [message #49261 is a reply to message #49198] Tue, 11 July 2006 10:31 Go to previous message
M-K is currently offline  M-K
Messages: 3
Registered: July 2006
Junior Member
David Fanning wrote:

> Humm. Very strange. I guess I still believe you haven't set the BITS_PER_PIXEL
> keyword correctly in PostScript, even though you write that you have, etc.
> But it is the only thing I can think of that still makes any sense. I would just
> check that DEVICE command again one more time (and perhaps confirm that
> the option got set with a Help, /Device).

Oddly, doing
set_plot, 'ps' & !P.Font=0
DEVICE, BITS_PER_PIXEL=8, COLOR=1, FILE=fnam, $
/ENCAPS, XSIZE=7,YSIZE=4,/INCHES
Help,/DEVICE

confirms 8 bits per pixel; the output is:

Current graphics device: PS
Mode: Portrait, Encapsulated, EPSI Preview Disabled, Color Enabled
Output Color Model: RGB
... { offset, size, preview stuff here, Scale Factor is 1 }
...
Font: Helvetica TrueType Font: <default>
# bits per image pixel: 8
Font Mapping: ...

So somehow the colorbar output is nice, but the TVImage output
is pixelly or not enough colors, despite BITS_PER_PIXEL=8.
Could there be a pixel scaling problem with Postscript?

Thank you again,
-Mark
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: Reading Binary
Next Topic: 8-bit Postscript problem (Will IDL and color Postscript *ever* get along?)

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Fri Oct 10 22:42:27 PDT 2025

Total time taken to generate the page: 0.63974 seconds