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;
-}