Common Lisp Package: ZPNG

README:

FUNCTION

Private

CHUNK-WRITE-BYTE (BYTE CHUNK)

Save one byte to CHUNK.

CHUNK-WRITE-UINT32 (INTEGER CHUNK)

Save INTEGER to CHUNK as four bytes.

MAKE-CHUNK (A B C D SIZE)

Make a chunk that uses A, B, C, and D as the signature bytes, with data size SIZE.

Undocumented

CHECK-SIZE (PNG)

CHECKSUM (DATA COUNT)

MAKE-IDAT-CALLBACK (STREAM)

WRITE-CHUNK (CHUNK STREAM)

WRITE-UINT32 (INTEGER STREAM)

GENERIC-FUNCTION

Public

Undocumented

COPY-PNG (PNG)

FINISH-PNG (PNG)

INVALID-SIZE-HEIGHT (CONDITION)

INVALID-SIZE-WIDTH (CONDITION)

PIXELS-LEFT-IN-ROW (PNG)

PNG= (PNG1 PNG2)

ROWS-LEFT (PNG)

ROWSTRIDE (PNG)

SAMPLES-PER-PIXEL (PNG)

START-PNG (PNG STREAM)

WRITE-PIXEL (PIXEL PNG)

WRITE-PNG (PNG PATHNAME &KEY IF-EXISTS (IF-EXISTS SUPERSEDE))

WRITE-PNG-STREAM (PNG STREAM)

WRITE-ROW (ROW PNG &KEY START END (START 0))

Private

Undocumented

COLOR-TYPE-MISMATCH-EXPECTED (CONDITION)

SETFCOLOR-TYPE-MISMATCH-EXPECTED (NEW-VALUE CONDITION)

COLOR-TYPE-MISMATCH-GIVEN (CONDITION)

SETFCOLOR-TYPE-MISMATCH-GIVEN (NEW-VALUE CONDITION)

IHDR-COLOR-TYPE (PNG)

INCOMPLETE-ROW-NEEDED (CONDITION)

SETFINCOMPLETE-ROW-NEEDED (NEW-VALUE CONDITION)

INCOMPLETE-ROW-WRITTEN (CONDITION)

SETFINCOMPLETE-ROW-WRITTEN (NEW-VALUE CONDITION)

INSUFFICIENT-ROWS-NEEDED (CONDITION)

SETFINSUFFICIENT-ROWS-NEEDED (NEW-VALUE CONDITION)

INSUFFICIENT-ROWS-WRITTEN (CONDITION)

SETFINSUFFICIENT-ROWS-WRITTEN (NEW-VALUE CONDITION)

INVALID-ROW-LENGTH-ACTUAL-LENGTH (CONDITION)

SETFINVALID-ROW-LENGTH-ACTUAL-LENGTH (NEW-VALUE CONDITION)

INVALID-ROW-LENGTH-EXPECTED-LENGTH (CONDITION)

SETFINVALID-ROW-LENGTH-EXPECTED-LENGTH (NEW-VALUE CONDITION)

RESET-STREAMED-PNG (PNG)

SCANLINE-OFFSET (PNG SCANLINE)

TOO-MANY-ROWS-COUNT (CONDITION)

SETFTOO-MANY-ROWS-COUNT (NEW-VALUE CONDITION)

WRITE-IDAT (PNG STREAM)

WRITE-IEND (PNG STREAM)

WRITE-IHDR (PNG STREAM)

WRITE-PNG-HEADER (PNG STREAM)

SLOT-ACCESSOR

Public

Undocumented

COLOR-TYPE (OBJECT)

DATA-ARRAY (OBJECT)

HEIGHT (OBJECT)

IMAGE-DATA (OBJECT)

ROW-DATA (OBJECT)

SETFROW-DATA (NEW-VALUE OBJECT)

ROWS-WRITTEN (OBJECT)

SETFROWS-WRITTEN (NEW-VALUE OBJECT)

WIDTH (OBJECT)

Private

Undocumented

SETF%DATA-ARRAY (NEW-VALUE OBJECT)

SETF%IMAGE-DATA (NEW-VALUE OBJECT)

BPP (OBJECT)

BUFFER (OBJECT)

COMPRESSOR (OBJECT)

SETFCOMPRESSOR (NEW-VALUE OBJECT)

CURRENT-OFFSET (OBJECT)

SETFCURRENT-OFFSET (NEW-VALUE OBJECT)

OUTPUT-STREAM (OBJECT)

SETFOUTPUT-STREAM (NEW-VALUE OBJECT)

POS (OBJECT)

SETFPOS (NEW-VALUE OBJECT)

VARIABLE

Private

Undocumented

*COLOR-TYPES*

*PNG-SIGNATURE*

CLASS

Public

Undocumented

PIXEL-STREAMED-PNG

PNG

STREAMED-PNG

Private

Undocumented

BASE-PNG

CHUNK

CONDITION

Public

Undocumented

COLOR-TYPE-MISMATCH

INCOMPLETE-ROW

INSUFFICIENT-ROWS

INVALID-ROW-LENGTH

INVALID-SIZE

TOO-MANY-ROWS

ZPNG-ERROR

CONSTANT

Private

Undocumented

+PNG-COMPRESSION-METHOD+

+PNG-FILTERING+

+PNG-INTERLACE+