nanogui: how can I get pixel data form GR_DRAW_ID


Previous by date: 24 Feb 2012 16:43:46 -0000 [Solved] Multiple definition error when building Nano-X with VNC server, Pete Klemm
Next by date: 24 Feb 2012 16:43:46 -0000 Re: how can I get pixel data form GR_DRAW_ID, Greg Haerr
Previous in thread:
Next in thread: 24 Feb 2012 16:43:46 -0000 Re: how can I get pixel data form GR_DRAW_ID, Greg Haerr

Subject: how can I get pixel data form GR_DRAW_ID
From: rithy roth ####@####.####
Date: 24 Feb 2012 16:43:46 -0000
Message-Id: <CANA4ZohGYuvhKx0PW-yKx=sm5EOJw4YB825cL6=8=XNcqnajgw@mail.gmail.com>

Hi,

I read an image from a file into memory like so:


pixmap = *GrNewPixmap*(w, h, 0);

*GrDrawImageToFit*(pixmap, *gc*, 0, 0, -1, -1, image[0]);

How can I access the underlying pixel values?

thanks

Previous by date: 24 Feb 2012 16:43:46 -0000 [Solved] Multiple definition error when building Nano-X with VNC server, Pete Klemm
Next by date: 24 Feb 2012 16:43:46 -0000 Re: how can I get pixel data form GR_DRAW_ID, Greg Haerr
Previous in thread:
Next in thread: 24 Feb 2012 16:43:46 -0000 Re: how can I get pixel data form GR_DRAW_ID, Greg Haerr


Powered by ezmlm-browse 0.20.