Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studio Overview Download Tizen Studio Deprecation Notice Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE Design Introduction “Air” Styles Mobile Design Principles Styles UX Overview Design Patterns UI Components for Tizen App Design 2.3 TV Design Principles Styles UX Overview Patterns UI Components Wearable Development Tizen Studio Overview Download Tizen Studio Deprecation Notice Tizen Extensions for Visual Studio Family IoT extension SDK Docs Blog Blog Announcing the Tizen Studio 3.7 Release Announcing the Tizen Studio 3.1 Release Community Forums General Support Tizen .NET Web Application Development Native Application Development SDK & IDE
Image Cropping
I am working on application in which, I am using image cropper.
but when I set cropped image in layout part, it gets blurred, stratched and resolution gets low.
Here is my code. Please help me out of this.
void crop_image_cb(app_control_h request, app_control_h reply, app_control_result_e result, void *user_data) { appdata_s *ad = user_data; char** path; int length; int ret; char buf[PATH_MAX]; if(result == APP_CONTROL_RESULT_SUCCEEDED) { ret = app_control_get_extra_data_array(reply, APP_CONTROL_DATA_SELECTED, &path, &length); if(ret == APP_CONTROL_ERROR_NONE) { int i; for(i=0; i<length;i++) { dlog_print(DLOG_DEBUG,LOG_TAG,"Cropped image path: %s", path[i]); snprintf(buf, sizeof(buf), "%s",path[i]); free(path[i]); } sprintf(ad->img_path,"%s",buf); elm_image_file_set(ad->img,ad->img_path,NULL); free(path); } } } void crop_image(char* path,void *data) { appdata_s *id = data; app_control_h app_control = NULL; app_control_create(&app_control); app_control_set_operation(app_control, "http://tizen.org/appcontrol/operation/image/crop"); app_control_set_uri(app_control, path); if(app_control_send_launch_request(app_control, crop_image_cb, ad) == APP_CONTROL_ERROR_NONE) LOGI("Crop preview launched!"); app_control_destroy(app_control); }BY
16 Apr 2025
Tizen Studio
BY
04 Nov 2024
Tizen Studio
BY
02 Apr 2024
Tizen Studio