forked from enlightenment/efl
Elementary: Load image for image item with proper orientation
Summary: Image files can have orientation information. Elm Entry have to call evas_object_image_load_orientation_set() for showing image with proper orientation. Test Plan: N/A Reviewers: herdsman, raster, jpeg Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D4244
This commit is contained in:
parent
167d41e7b2
commit
b915d29cd1
|
@ -2729,6 +2729,7 @@ _item_get(void *data,
|
|||
const char *fname = item + 7;
|
||||
|
||||
o = evas_object_image_filled_add(evas_object_evas_get(data));
|
||||
evas_object_image_load_orientation_set(o, EINA_TRUE);
|
||||
evas_object_image_file_set(o, fname, NULL);
|
||||
if (evas_object_image_load_error_get(o) == EVAS_LOAD_ERROR_NONE)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue