Remove _image_util_check_resolution() API. check parameters directly
[platform/core/api/image-util.git] / src / image_util_private.c
index dba91d4..efcc59a 100755 (executable)
@@ -216,18 +216,3 @@ int _image_error_capi(int error_code)
        return IMAGE_UTIL_ERROR_INVALID_OPERATION;
 
 }
-
-bool _image_util_check_resolution(int width, int height)
-{
-       if (width <= 0) {
-               image_util_error("invalid width [%d]", width);
-               return false;
-       }
-
-       if (height <= 0) {
-               image_util_error("invalid height [%d]", height);
-               return false;
-       }
-
-       return true;
-}