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

Home » Public Forums » archive » IDL 5.5 Cube=6 Problem?
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
IDL 5.5 Cube=6 Problem? [message #28109] Mon, 19 November 2001 15:08
chairtronix is currently offline  chairtronix
Messages: 1
Registered: November 2001
Junior Member
I am using Windows NT 4.0 at a color depth of 65536.

While using IDL 5.3 I had the problem of white looking slightly gray
when writing PNG files. However, after I read David Fanning's tip on
using CUBE=6 with COLOR_QUAN, the white became pure white as I wanted.

http://www.dfanning.com/color_tips/gif_gray.html

Now I've upgraded to IDL 5.5 while still running NT 4.0 at 16 bit
color. However, when I write PNG files using CUBE=6 the white is
slightly gray and the image has "speckles" on it. Has anyone else
experienced this problem? Did RSI alter the Floyd-Steinberg method
used when CUBE is set?

After some experimentation, I found that when I set my display to True
Color (and still using IDL 5.5 and NT 4.0), I was able to get the
white to be pure white and no speckles.

It would be nice to have my code work right with 16 bit color like it
did with IDL 5.3. Any suggestions?

Thanks in advance.

- Eric
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: IDL Book On Sale
Next Topic: Re: Ongoing Object Graphics Quest

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

Current Time: Wed Oct 08 19:05:30 PDT 2025

Total time taken to generate the page: 0.00587 seconds