Unit JcAPImin

Classes

Functions

jpeg_abort_compress - Abort processing of a JPEG compression operation, but don't destroy the object itself.
jpeg_CreateCompress - Initialization of a JPEG compression object.
jpeg_create_compress - Initialization of JPEG compression objects.
jpeg_destroy_compress - Destruction of a JPEG compression object } {GLOBAL

Destruction of a JPEG compression object } {GLOBAL
jpeg_finish_compress - Finish JPEG compression.
jpeg_suppress_tables - Forcibly suppress or un-suppress all quantization and Huffman tables.
jpeg_write_marker - Write a special marker.
jpeg_write_tables - Alternate compression function: just write an abbreviated table file.

Types

Constants

Variables


Functions


procedure jpeg_abort_compress (cinfo : j_compress_ptr);

Abort processing of a JPEG compression operation, but don't destroy the object itself. } {GLOBAL

Abort processing of a JPEG compression operation, but don't destroy the object itself. } {GLOBAL


procedure jpeg_CreateCompress (cinfo : j_compress_ptr; version : int; structsize : size_t);

Initialization of a JPEG compression object. The error manager must already be set up (in case memory manager fails). } {GLOBAL

Initialization of a JPEG compression object. The error manager must already be set up (in case memory manager fails). } {GLOBAL


procedure jpeg_create_compress(cinfo : j_compress_ptr);

Initialization of JPEG compression objects. Nomssi: This is a macro in the original code. jpeg_create_compress() and jpeg_create_decompress() are the exported names that applications should call. These expand to calls on jpeg_CreateCompress and jpeg_CreateDecompress with additional information passed for version mismatch checking. NB: you must set up the error-manager BEFORE calling jpeg_create_xxx.

procedure jpeg_destroy_compress (cinfo : j_compress_ptr);

Destruction of a JPEG compression object } {GLOBAL

Destruction of a JPEG compression object } {GLOBAL


procedure jpeg_finish_compress (cinfo : j_compress_ptr);

Finish JPEG compression. If a multipass operating mode was selected, this may do a great deal of work including most of the actual output. } {GLOBAL

Finish JPEG compression. If a multipass operating mode was selected, this may do a great deal of work including most of the actual output. } {GLOBAL


procedure jpeg_suppress_tables (cinfo : j_compress_ptr; suppress : boolean);

Forcibly suppress or un-suppress all quantization and Huffman tables. Marks all currently defined tables as already written (if suppress) or not written (if !suppress). This will control whether they get emitted by a subsequent jpeg_start_compress call. This routine is exported for use by applications that want to produce abbreviated JPEG datastreams. It logically belongs in jcparam.c, but since it is called by jpeg_start_compress, we put it here --- otherwise jcparam.o would be linked whether the application used it or not. } {GLOBAL

Forcibly suppress or un-suppress all quantization and Huffman tables. Marks all currently defined tables as already written (if suppress) or not written (if !suppress). This will control whether they get emitted by a subsequent jpeg_start_compress call. This routine is exported for use by applications that want to produce abbreviated JPEG datastreams. It logically belongs in jcparam.c, but since it is called by jpeg_start_compress, we put it here --- otherwise jcparam.o would be linked whether the application used it or not. } {GLOBAL


procedure jpeg_write_marker (cinfo : j_compress_ptr; marker : int; const dataptr : JOCTETptr; datalen : uInt);

Write a special marker. This is only recommended for writing COM or APPn markers. Must be called after jpeg_start_compress() and before first call to jpeg_write_scanlines() or jpeg_write_raw_data(). } {GLOBAL

Write a special marker. This is only recommended for writing COM or APPn markers. Must be called after jpeg_start_compress() and before first call to jpeg_write_scanlines() or jpeg_write_raw_data(). } {GLOBAL


procedure jpeg_write_tables (cinfo : j_compress_ptr);

Alternate compression function: just write an abbreviated table file. Before calling this, all parameters and a data destination must be set up. To produce a pair of files containing abbreviated tables and abbreviated image data, one would proceed as follows: initialize JPEG object set JPEG parameters set destination to table file jpeg_write_tables(cinfo); set destination to image file jpeg_start_compress(cinfo, FALSE); write data... jpeg_finish_compress(cinfo); jpeg_write_tables has the side effect of marking all tables written (same as jpeg_suppress_tables(..., TRUE)). Thus a subsequent start_compress will not re-emit the tables unless it is passed write_all_tables=TRUE. } {GLOBAL

Alternate compression function: just write an abbreviated table file. Before calling this, all parameters and a data destination must be set up. To produce a pair of files containing abbreviated tables and abbreviated image data, one would proceed as follows: initialize JPEG object set JPEG parameters set destination to table file jpeg_write_tables(cinfo); set destination to image file jpeg_start_compress(cinfo, FALSE); write data... jpeg_finish_compress(cinfo); jpeg_write_tables has the side effect of marking all tables written (same as jpeg_suppress_tables(..., TRUE)). Thus a subsequent start_compress will not re-emit the tables unless it is passed write_all_tables=TRUE. } {GLOBAL


Types


Constants


Variables