summaryrefslogtreecommitdiff
path: root/src/lib/ethumb
diff options
context:
space:
mode:
authorwonguk.jeong <wonguk.jeong@samsung.com>2014-07-07 19:10:58 +0200
committerCedric BAIL <c.bail@partner.samsung.com>2014-07-07 19:11:02 +0200
commitf803ba27b7a394f1b9ab83e3e7b760e6e916fbbd (patch)
treebf33fd99959d0f9c7965ff884c498366a5a18c29 /src/lib/ethumb
parent3e79b47e8023642590fd089c378e9fe6279e822a (diff)
downloadefl-f803ba27b7a394f1b9ab83e3e7b760e6e916fbbd.tar.gz
ethumb: fix setup related API problem
Summary: setup related API was not working at all due to below problems 1. dbus type signature is wrong. it's array of dictionary not array of struct 2. since quality value was assigned to compress value, there was a problem during saving png image (out of bound) 3. orientation_set API was not working except NONE and ORIGINAL @fix Test Plan: make thumbnail by using elm_thumb_add -> orientation set to 90 CCW -> check whether image is rotated properly or not Reviewers: raster, cedric CC: seoz, cedric Differential Revision: https://phab.enlightenment.org/D1138 Signed-off-by: Cedric BAIL <c.bail@partner.samsung.com>
Diffstat (limited to 'src/lib/ethumb')
-rw-r--r--src/lib/ethumb/ethumb.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ethumb/ethumb.c b/src/lib/ethumb/ethumb.c
index 761d56d5a7..76538e958f 100644
--- a/src/lib/ethumb/ethumb.c
+++ b/src/lib/ethumb/ethumb.c
@@ -1611,6 +1611,8 @@ _ethumb_image_load(Ethumb *e)
}
#endif
}
+ else
+ orientation = e->orientation;
if (orientation != ETHUMB_THUMB_ORIENT_NONE)
_ethumb_image_orient(e, orientation);