Function gpujpeg_encoder_set_jpeg_header

Source
pub unsafe extern "C" fn gpujpeg_encoder_set_jpeg_header(
    encoder: *mut gpujpeg_encoder,
    header_type: gpujpeg_header_type,
)
Expand description

Forces JPEG header to be emitted.

Header type should be capable of describing the resulting JPEG, eg. JFIF only for BT.601 full-scale YCbCr images. If not, resulting JPEG image may be incompatible with decoders.