Re: [E-devel] Evas image problem

2013-09-26 Thread Nicolas ALCOUFFE
? Thanks Nicolas. > On Thu, 26 Sep 2013 12:18:57 +0200 Nicolas ALCOUFFE > said: > > when you set the image data, evas doesnt COPY it... it refers to it. directly. > at any point that image object may possibly need to be rendered evas will need > access to the image data pointer and it mu

Re: [E-devel] Evas image problem

2013-09-26 Thread Nicolas ALCOUFFE
What do you mean ? > you're freeing your image data before it gets rendered. > > > On Thu, Sep 26, 2013 at 10:58 AM, Nicolas ALCOUFFE > wrote: >> Hi, >> >> For some reason, i need to convert an OpenCV image to Evas Image, i do: >> >> opencv_image =

Re: [E-devel] Evas image problem

2013-09-26 Thread Nicolas ALCOUFFE
Hi, For some reason, i need to convert an OpenCV image to Evas Image, i do: opencv_image = imread("fruits.jpg", 1); cvtColor(opencv_image, opencv_image, CV_BGR2BGRA); evas_image = evas_object_image_add(canvas); evas_object_image_colorspace_set(evas_image, EVAS_COLORSPACE_ARGB); evas_object_i