intvips_check_coding(constchar*domain,VipsImage*im,VipsCodingcoding)
Check that the image has the requiredcoding
.If not, set an error messageand return non-zero.
See also
domain
Type: const char*
The originating domain for the error message.
The data is owned by the caller of the function. |
The value is a NUL terminated UTF-8 string. |
im
Type: VipsImage
Image to check.
The data is owned by the caller of the function. |
coding
Type: VipsCoding
Required coding.