Function gpujpeg_image_get_properties

Source
pub unsafe extern "C" fn gpujpeg_image_get_properties(
    filename: *const c_char,
    param_image: *mut gpujpeg_image_parameters,
    file_exists: c_int,
) -> c_int
Expand description

Reads/obtains properties from uncompressed file (PNM etc.)

For files without header (.rgb, .yuv…) it obtains only color space pixel format deduced from file extension.

@retval 0 on success; != 0 on error @retval -1 on error @retval 1 only color space and pixel format was deduced from file extension (see above)