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

Home » Public Forums » archive » 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 #49260 is a reply to message #49210] Tue, 11 July 2006 11:07 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
M-K writes:

> 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?

If there is, it would be the first time I've ever heard of it.
I'll be honest, I am completely mystified. I guess the only
thing to try now is prayer, with maybe a histogram plot of
the data you are trying to display as an image to see if
there is something wrong there. But it looks to me like you are
doing all the right things. Strange... PostScript is always
ultra reliable. :-)

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Previous Topic: Re: 8-bit Postscript problem (Will IDL and color Postscript *ever* get along?)
Next Topic: extraction of linear features from satellite imagery

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

Current Time: Sat Oct 11 11:07:07 PDT 2025

Total time taken to generate the page: 0.03027 seconds