jpeg_save_markers

Name

jpeg_save_markers -- save the contents of special markers

Synopsis

#include <jpeglib.h>

void jpeg_save_markers(j_decompress_ptr cinfo, int marker_code, unsigned int length_limit);

Description

jpeg_save_markers() shall obtain length_limit bytes of special markers of type specified by marker_code. The marker_code shall take one of the following values: JPEG_COM, JPEG_APP0 - JPEG_APP15. The marker contents shall be stored in the marker field of cinfo. If length_limit is 0xFFFF, all marker bytes are saved.