int ret = IMAGE_UTIL_ERROR_NONE;
transformation_s *_handle = (transformation_s *) handle;
- image_util_debug("Get colorspace_convert_info [%d]", colorspace);
-
if (_handle == NULL) {
image_util_error("Invalid Handle");
return IMAGE_UTIL_ERROR_INVALID_PARAMETER;
return IMAGE_UTIL_ERROR_INVALID_OPERATION;
}
+ image_util_debug("Get colorspace_convert_info [%d]", _handle->colorspace);
+
*colorspace = _handle->colorspace;
+
return ret;
}
int ret = IMAGE_UTIL_ERROR_NONE;
transformation_s *_handle = (transformation_s *) handle;
- image_util_debug("Set resize_info w[%d] h[%d]", width, height);
-
if (_handle == NULL) {
image_util_error("Invalid Handle");
return IMAGE_UTIL_ERROR_INVALID_PARAMETER;
return IMAGE_UTIL_ERROR_INVALID_OPERATION;
}
+ image_util_debug("Get resize_info w[%ui] h[%ui]", _handle->width, _handle->height);
+
*width = _handle->width;
*height = _handle->height;
int ret = IMAGE_UTIL_ERROR_NONE;
transformation_s *_handle = (transformation_s *) handle;
- image_util_debug("Set rotate_info [%d]", rotation);
-
if (_handle == NULL) {
image_util_error("Invalid Handle");
return IMAGE_UTIL_ERROR_INVALID_PARAMETER;
return IMAGE_UTIL_ERROR_INVALID_OPERATION;
}
+ image_util_debug("Get rotate_info [%d]", _handle->rotation);
+
*rotation = _handle->rotation;
return ret;