jpeg_write_tables

Name

jpeg_write_tables -- create a tables-only file

Synopsis

#include <jpeglib.h>

void jpeg_write_tables(j_compress_ptr cinfo);

Description

jpeg_write_tables() shall create a tables-only file by writing an abbreviated datastream containing only SOI, DQT and/or DHT and EOI markers. All the quantization and Huffman tables currently defined in the compression object shall be emitted unless their sent_table flag is set to TRUE. Once emitted, sent_table flag shall be set for all tables written.