Clear the buffer first.
authorSung-jae Park <nicesj.park@samsung.com>
Tue, 25 Jun 2013 08:34:31 +0000 (17:34 +0900)
committerSung-jae Park <nicesj.park@samsung.com>
Tue, 25 Jun 2013 08:34:31 +0000 (17:34 +0900)
Change-Id: I6c1462a77ee7e3c043adeed0cbdaf9ca3d72d924

packaging/liblivebox-edje.spec
src/script_port.c

index 3a6b98d..0d47812 100644 (file)
@@ -1,6 +1,6 @@
 Name: liblivebox-edje
 Summary: EDJE Script loader for the data provider master
-Version: 0.5.9
+Version: 0.5.10
 Release: 1
 Group: HomeTF/Livebox
 License: Flora License
index c4d95c4..24c6992 100644 (file)
@@ -715,6 +715,8 @@ PUBLIC int script_update_image(void *_h, Evas *e, const char *id, const char *pa
                                        return LB_STATUS_ERROR_FAULT;
                                }
 
+                               ecore_evas_alpha_set(ee, EINA_TRUE);
+
                                e = ecore_evas_get(ee);
                                if (!e) {
                                        ErrPrint("Unable to get Evas\n");
@@ -737,6 +739,9 @@ PUBLIC int script_update_image(void *_h, Evas *e, const char *id, const char *pa
                                        return LB_STATUS_ERROR_FAULT;
                                }
 
+                               evas_object_image_alpha_set(src_img, EINA_TRUE);
+                               evas_object_image_colorspace_set(src_img, EVAS_COLORSPACE_ARGB8888);
+                               evas_object_image_smooth_scale_set(src_img, EINA_TRUE);
                                evas_object_image_load_orientation_set(src_img, img_opt.orient);
                                evas_object_image_file_set(src_img, path, NULL);
                                err = evas_object_image_load_error_get(src_img);