Hi All,

I am creating a proxy image object by using the API
"evas_object_image_source_set" and using elm_button widget as the source. 
The proxy image object successfully gets created and I can see its contents on 
screen when I show it.

I want to save this proxy image object in to a image file.
Please tell me how to do this, as the API for saving the image 
"evas_object_image_save" fails
in case of proxy image object.

internally when I checked it returns 0 as engine_data is NULL in this case.

Below is sample code.

Evas_Object *btn = elm_button_add(parent);
Evas_Object *proxy;
elm_object_text_set(btn, "test");
evas_object_show(btn);
proxy = evas_object_image_add(evas_object_evas_get(btn));
evas_object_image_source_set(proxy, btn);
evas_object_resize(proxy, 100, 200);
evas_object_image_filled_set(proxy, EINA_TRUE);
if (!evas_object_image_save(proxy, "\temp\image.png", NULL, "quality=100"))
  printf("\nCannot save image\n");

evas_object_image_save is failing.

Thanks & Regards
Shilpa Singh
------------------------------------------------------------------------------
Don't let slow site performance ruin your business. Deploy New Relic APM
Deploy New Relic app performance management and know exactly
what is happening inside your Ruby, Python, PHP, Java, and .NET app
Try New Relic at no cost today and get our sweet Data Nerd shirt too!
http://p.sf.net/sfu/newrelic-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to