How to save image object to an image file?
By KJ Lee
15 Apr 2015 22:18
English
4 Replies
Hi, all.
My simple app needs to save image object to an image file.
I tried to do with 'evas_object_image_save' function, however the fuction's result is always 'FALSE'.
My code is as follows
Evas *evas = evas_object_evas_get(win);
Evas_Object *image = evas_object_image_filled_add(evas);
elm_image_memfile_set(image, bitmap, size, "bmp", NULL);
evas_object_image_save(image, save_path, NULL, "quality=100 compress=8");
I'd appreciate any help or advice.
Thank you!
You must log in to use this service. Log in now?
The tag you entered already exists.
Do you want to report this post as spam?
The post has been reported as spam.
cannot be empty.
Are you sure you want to cancel and return to the list?
The code has been copied to the clipboard.
Enter a title.
All Categories
General Support
Tizen .NET
Web Application Development
Native Application Development
SDK & IDE
--------
--------