jpeg_write_marker

Name

jpeg_write_marker -- write special marker data

Synopsis

#include <jpeglib.h>

void jpeg_write_marker(j_compress_ptr cinfo, int marker, const JOCTET * dataptr, unsigned int datalen);

Description

jpeg_write_marker() shall emit the marker header and "datalen" number of marker bytes obtained from "*dataptr". The marker header consists of the marker code followed by the length of marker data.