pub unsafe extern "C" fn charls_jpegls_encoder_get_estimated_destination_size(
encoder: *const charls_jpegls_encoder,
size_in_bytes: *mut usize,
) -> charls_jpegls_errc
Expand description
Returns the size in bytes, that the encoder expects are needed to hold the encoded image.
Size for dynamic extras like SPIFF entries and other tables are not included in this size.
Reference to the encoder instance.
Reference to the size that will be set when the functions returns.
The result of the operation: success or a failure code.