On Wed,  7 Apr 2004 15:56:25 +0200 ORRY Lionel <[EMAIL PROTECTED]> babbled:

> 
> 
> 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. ;-) 

oh oh.. so far import pixels only works with YUV420 planar data - sorry i
haven't written code to support anything else (yet). you can just get the pixel
data pointer (for writing) and write to the ARGB pixels of the image object
directly if you want to do your own importing... :) this works quite well :)
(just make sure the alpha value is 0xff if you don't need it).

-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    [EMAIL PROTECTED]
熊耳 - 車君 (数田)                  [EMAIL PROTECTED]
Tokyo, Japan (東京 日本)


-------------------------------------------------------
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