[][src]Function jpegxl_sys::JxlEncoderSetDimensions

pub unsafe extern "C" fn JxlEncoderSetDimensions(
    enc: *mut JxlEncoder,
    xsize: size_t,
    ysize: size_t
) -> JxlEncoderStatus

Sets the dimensions of the image encoded by this encoder.

@param enc encoder object @param xsize width of image @param ysize height of image @return JXL_ENC_SUCCESS if the dimensions are within jxl spec limitations, JXL_ENC_ERROR otherwise