return true;
}
+#if 0
static image_util_colorspace_e __convert_colorspace(maps_view_colorspace_type_e cs)
{
switch (cs) {
}
return IMAGE_UTIL_COLORSPACE_RGBA8888;
}
+#endif
static int __encode_to_jpeg(unsigned char *image_buffer, int w, int h,
maps_view_colorspace_type_e cs, int quality, const char *file_path)
return MAPS_ERROR_INVALID_OPERATION;
#if (TIZEN_VER >= VERSION(3, 0, 0))
image_util_encode_h image_handle = NULL;
- unsigned long long image_size = 0;
+// unsigned long long image_size = 0;
int error = IMAGE_UTIL_ERROR_NONE;
do {
MAPS_LOGE("Failed to create the image handle with JPEG format. error=%d", error);
break;
}
+#if 0
error = image_util_encode_set_input_buffer(image_handle, image_buffer);
if (error != IMAGE_UTIL_ERROR_NONE) {
MAPS_LOGE("Failed to set image_buffer to image handle. error=%d", error);
MAPS_LOGE("Failed to encode with image handle. error=%d", error);
break;
}
+#endif
} while (0);
image_util_encode_destroy(image_handle);