语言

Menu
Sites
Language

Crop Jpeg file

Example how to crop jpeg image from file using 'Image Util'. Here ad->fileList[ad->curIndex] is some char string with path to file. http://tizen.org/privilege/mediastorage should be in manifest.

响应

1 回复
Alex Dem

Also, fyi:
This code snippet applicable if Exif Orientation is ORIENTATION_NORMAL (equal 1)
How to get exif orientation 
https://developer.tizen.org/community/code-snippet/native-code-snippet/how-get-exif-orientation
In other cases you need to perform rotation transformation with ret = image_util_transform_set_rotation before.
Alexey.