emile: fix region load for jpeg image with orientation different set.
authorjiin.moon <jiin.moon@samsung.com>
Wed, 3 Jun 2015 08:57:27 +0000 (10:57 +0200)
committerCedric BAIL <cedric@osg.samsung.com>
Wed, 3 Jun 2015 11:46:44 +0000 (13:46 +0200)
commit63a12d7d26f53b22b7794eb61897de930614bac7
tree707c69c48c78d36524828931cf029cfd9edd54b2
parent0c729faf688a518f10f75a890e7364d4f1e76939
emile: fix region load for jpeg image with orientation different set.

Summary:
If you try to load the jpeg image with an orientation mode defined
using elm_photocam, you can see the broken image(in canse of 90 degree)
or even segmentation fault can happen (in case of 180,270 degree)

@fix

Test Plan: photocam menu on elementary_test

Reviewers: Hermet, cedric

Subscribers: cedric

Differential Revision: https://phab.enlightenment.org/D2593

Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
src/lib/emile/emile_image.c
src/tests/evas/evas_test_image.c