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

Home » Public Forums » archive » Re: converting window into a image
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: converting window into a image [message #47009 is a reply to message #47008] Wed, 18 January 2006 14:47 Go to previous messageGo to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Matt writes:

> This might be the trick. It looks like I'm running a 16 bit color? Maybe
> I'll get my admin to change it to 24bit color and I'll see how that works.
>
>
>
>
> IDL> help, /device
> Available Graphics Devices: CGM HP LJ NULL PCL PRINTER PS REGIS TEK X Z
> Current graphics device: X
> Server: X11.0, The XFree86 Project, Inc, Release 40300001
> Display Depth, Size: 16 bits, (1600,1200)
> Visual Class: TrueColor (4)
> Bits Per RGB: 6 (5/6/5)
> Physical Color Map Entries (Emulated / Actual): 256 / 64
> Colormap: Shared, 65536 colors. Translation table: Bypassed
> Graphics pixels: Combined, Dither Method: Ordered
> Write Mask: 65535 (decimal) ffff (hex)
> Graphics Function: 3 (copy)
> Current Font: -*-*-bold-r-*-*-15-*-*-*-*-*-*-*, Current TrueType Font: <default>
> Default Backing Store: Pixmap.

Ah, there you go. I think that is the problem. When
reading back colors off the display, I can't get
a full 8 bits in each channel. Thus, a full white [255,255,255]
is probably impossible.

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
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: iTools Data Manager
Next Topic: Re: Linux Help Needed

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

Current Time: Sun Oct 12 04:49:43 PDT 2025

Total time taken to generate the page: 0.16110 seconds