nanogui: MWPIXELVAL -> MWCOLORVAL?


Previous by date: 27 Feb 2002 10:58:25 -0000 Re: MWPIXELVAL -> MWCOLORVAL?, Alex Holden
Next by date: 27 Feb 2002 10:58:25 -0000 Re: How to draw pixmap with transparency, Alex Holden
Previous in thread: 27 Feb 2002 10:58:25 -0000 Re: MWPIXELVAL -> MWCOLORVAL?, Alex Holden
Next in thread:

Subject: Re: [nanogui] MWPIXELVAL -> MWCOLORVAL?
From: Julian Smart ####@####.####
Date: 27 Feb 2002 10:58:25 -0000
Message-Id: <4.2.0.58.20020227105735.02a1c5a0@pop>

At 10:47 AM 2/27/02 +0000, Alex Holden wrote:
 >Julian Smart wrote:
 >> In converting from a pixmap to wxWindows' wxImage class, I'd like to get
 >> the colour for each pixel. However, GrReadArea returns pixel values. Can
 >> I convert these to RGB colours...?
 >
 >You're in luck, I happen to have written code to do this just yesterday. 
 >I haven't tested it on big endian or 565 mode though. See the attached 
 >file (it's a screenshot program for Nano-X).

Cool!! Thank you very much, should be just the ticket.

Ciao,

Julian
-- 
Red Hat UK Ltd, Unit 200 Rustat House, 62 Clifton Road, Cambridge, UK. CB1 7EG Tel: +44 (1223) 271063

Previous by date: 27 Feb 2002 10:58:25 -0000 Re: MWPIXELVAL -> MWCOLORVAL?, Alex Holden
Next by date: 27 Feb 2002 10:58:25 -0000 Re: How to draw pixmap with transparency, Alex Holden
Previous in thread: 27 Feb 2002 10:58:25 -0000 Re: MWPIXELVAL -> MWCOLORVAL?, Alex Holden
Next in thread:


Powered by ezmlm-browse 0.20.