jpeg_start_output

Name

jpeg_start_output -- initialize for a pass in buffered-image mode

Synopsis

#include <jpeglib.h>

boolean jpeg_start_output(j_decompress_ptr cinfo, int scan_number);

Description

jpeg_start_output() shall initialize state for an output pass in buffered-image mode. The scan_number indicates the scan of the image to be displayed. Scan numbers start from 1. The buffered-image mode must be selected before starting an output pass by setting cinfo.buffered_image = TRUE.

Return Value

jpeg_start_output() shall return FALSE if decompression is suspended. Otherwise, jpeg_start_output() shall return TRUE.