Common Lisp Package: PNG-READ

README:

FUNCTION

Public

Undocumented

READ-PNG-DATASTREAM (PNG-STREAM)

READ-PNG-FILE (FILE)

Private

Undocumented

BIG-ENDIAN-VECTOR-TO-INTEGER (BYTE-VECTOR)

BUILD-TRANSPARENCY-MAP (PNG-STATE)

CRC (DATA)

DECODE-INTERLACED (DATA PNG-STATE)

DECODE-SUBIMAGES (DATA PNG-STATE)

FINISH-CRC (CRC)

FINISH-DECODING (PNG-STATE)

FINISH-DEINTERLACE (COLOUR-TYPE W H SUB-IMAGES SUB-ARRAYS SUB-HEIGHTS)

GET-HEIGHT-PASSLIST (PASS-LIST)

GET-SCANLINES (DATA H FILTERED-SCANLINE-LENGTH)

MAKE-CRC-ARRAY

MAKE-DEINTERLACE-ARRAYS (W H)

PAETH-PREDICTOR (XI K SCANLINES PIXEL-LENGTH)

PARSE-CHUNK (CHUNK-TYPE CHUNK-DATA)

READ-PNG-CHUNKS (PNG-STREAM)

SET-IMAGE-SLICE-TO-INDEX (X Y IDX PALLETE IMAGE-DATA)

SPLIT-DATASTREAM (DATASTREAM BD COLOUR-TYPE SUB-WIDTHS SUB-HEIGHTS)

START-CRC (DATA)

SUB-BYTE (XI SCANLINE PIXEL-LENGTH)

SUBUP-BYTE (XI K SCANLINES PIXEL-LENGTH)

UNFILTER-SCANLINES (SCANLINES PIXEL-LENGTH)

UP-BYTE (XI K SCANLINES)

UPDATED-CRC (CRC DATA)

GENERIC-FUNCTION

Private

Undocumented

CRC-IS-OF (CONDITION)

CRC-READ-OF (CONDITION)

DECODE-DATA (COLOUR-TYPE DATA PNG-STATE)

FILE-OF (CONDITION)

PARSE-ANCILLARY-CHUNK (CHUNK-TYPE CHUNK-DATA)

PARSE-CRITICAL-CHUNK (CHUNK-TYPE CHUNK-DATA)

SLOT-ACCESSOR

Public

Undocumented

BIT-DEPTH (OBJECT)

SETFBIT-DEPTH (NEW-VALUE OBJECT)

COLOUR-TYPE (OBJECT)

SETFCOLOUR-TYPE (NEW-VALUE OBJECT)

GAMMA (OBJECT)

SETFGAMMA (NEW-VALUE OBJECT)

HEIGHT (OBJECT)

SETFHEIGHT (NEW-VALUE OBJECT)

IMAGE-DATA (OBJECT)

SETFIMAGE-DATA (NEW-VALUE OBJECT)

IMAGE-HISTOGRAM (OBJECT)

SETFIMAGE-HISTOGRAM (NEW-VALUE OBJECT)

LAST-MODIFICATION (OBJECT)

SETFLAST-MODIFICATION (NEW-VALUE OBJECT)

PHYSICAL-DIMENSIONS (OBJECT)

SETFPHYSICAL-DIMENSIONS (NEW-VALUE OBJECT)

PREFERRED-BACKGROUND (OBJECT)

SETFPREFERRED-BACKGROUND (NEW-VALUE OBJECT)

RENDERING-INTENT (OBJECT)

SETFRENDERING-INTENT (NEW-VALUE OBJECT)

SIGNIFICANT-BITS (OBJECT)

SETFSIGNIFICANT-BITS (NEW-VALUE OBJECT)

TEXTUAL-DATA (OBJECT)

SETFTEXTUAL-DATA (NEW-VALUE OBJECT)

TRANSPARENCY (OBJECT)

SETFTRANSPARENCY (NEW-VALUE OBJECT)

WIDTH (OBJECT)

SETFWIDTH (NEW-VALUE OBJECT)

Private

Undocumented

COMPRESSION (OBJECT)

SETFCOMPRESSION (NEW-VALUE OBJECT)

DATASTREAM (OBJECT)

SETFDATASTREAM (NEW-VALUE OBJECT)

FILTER-METHOD (OBJECT)

SETFFILTER-METHOD (NEW-VALUE OBJECT)

FINISHED (OBJECT)

SETFFINISHED (NEW-VALUE OBJECT)

INDEX-DATA (OBJECT)

SETFINDEX-DATA (NEW-VALUE OBJECT)

INTERLACE-METHOD (OBJECT)

SETFINTERLACE-METHOD (NEW-VALUE OBJECT)

PALLETE (OBJECT)

SETFPALLETE (NEW-VALUE OBJECT)

PNG-FILE (OBJECT)

SETFPNG-FILE (NEW-VALUE OBJECT)

POSTPROCESS-ANCILLARIES (OBJECT)

SETFPOSTPROCESS-ANCILLARIES (NEW-VALUE OBJECT)

VARIABLE

Public

Undocumented

*CRC-FAIL-BEHAVIOUR*

Private

Undocumented

*ADAM7*

*CRC-ARRAY*

*PNG-FILE*

*PNG-HEADER*

*PNG-STATE*

*WARN-MISSING-ANCILLARIES*

CLASS

Public

Undocumented

PNG-STATE

CONDITION

Public

Undocumented

CRC-FAILURE