From: Carsten H. (T. R. <ra...@ra...> - 2004-04-08 02:55:03
|
On Wed, 7 Apr 2004 15:56:25 +0200 ORRY Lionel <lio...@cp...> 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) ra...@ra... 熊耳 - 車君 (数田) ra...@de... Tokyo, Japan (東京 日本) |