jpeg_calc_output_dimensions
Name
jpeg_calc_output_dimensions -- compute output image dimensions
Synopsis
void
jpeg_calc_output_dimensions
(j_decompress_ptr
cinfo);
Description
jpeg_calc_output_dimensions() computes the output image dimensions based on the
current compression parameter settings in the compression object. The following
dimensions shall be computed:
output_width | | actual width of output image |
output_height | | actual height of output image |
out_color_components | | number of color components in out_color_space |
output_components | | number of color components returned |
rec_outbuf_height | | recommended height of scanline buffer |