damn. forgot to cc the list.

Begin forwarded message:

From: Brian Mattern <[EMAIL PROTECTED]>
Date: April 7, 2004 12:07:40 PM CDT
To: ORRY Lionel <[EMAIL PROTECTED]>
Subject: Re: [E-devel] How to use or build a RGB pixmap from Evas_Pixels_Import_Source


Create a window with an evas (using ecore evas)
Then add an image object.
evas_object_image_size_set() the image to the pixel size you want. then use evas_object_image_data_get() to get an array of (empty) pixel data.
i'm pretty sure it uses ARGB32 data (someone correct me if this is wrong).
after updating the data, use evas_object_image_data_update_add() to tell evas which part was updated.


evas should take care of the rest for you.
--
brian

On Apr 7, 2004, at 8:56 AM, ORRY Lionel wrote:



Hi everybody ; first, i wanted to say great work !!! Keep going on...

I'd like to use Evas_Pixels_Import_Source for a little app for
scientific visualization, kinda simple RGB (alpha not necessary) pixmap
from a WIDTH x HEIGHT x 3 array... I wondered if uncommenting the ARGB32
section in evas_image.c would work or if i should use
EVAS_PIXEL_FORMAT_NONE and creating my own type... How to do it ?


Thanks a lot !

BTW don't be cruel, i'm a beginner with this. ;-)


---------------------------------------------------------------- This message was sent using IMP, the Internet Messaging Program.


------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel




------------------------------------------------------- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click _______________________________________________ enlightenment-devel mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to