Common Lisp Package: PNG

README:

FUNCTION

Public

AIMAGE-ALPHA-P (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

AIMAGE-DATA (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

AIMAGE-HEIGHT (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

AIMAGE-PLIST (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

AIMAGE-WIDTH (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

Undocumented

SETFAIMAGE-ALPHA-P (NEW-VALUE INSTANCE)

SETFAIMAGE-DATA (NEW-VALUE INSTANCE)

SETFAIMAGE-HEIGHT (NEW-VALUE INSTANCE)

SETFAIMAGE-PLIST (NEW-VALUE INSTANCE)

SETFAIMAGE-WIDTH (NEW-VALUE INSTANCE)

PNG-STREAM->AIMAGE (STREAM)

Private

DECODE-IHDR (DATA)

Decode an IHDR chunk from data.

DECODE-PLTE (DATA)

Decode a PLTE chunk from the byte vector 'data'.

DECODE-UNSIGNED-BYTE-16 (DATA OFFSET)

Decode an (unsigned-byte 16) from the byte vector 'data' starting at 'offset' in network order.

DECODE-UNSIGNED-BYTE-32 (DATA OFFSET)

Decode an (unsigned-byte 32) from the byte vector 'data' starting at 'offset' in network order.

IHDR-BIT-DEPTH (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

IHDR-COLOR-TYPE (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

IHDR-COMPRESSION-METHOD (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

IHDR-FILTER-METHOD (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

IHDR-HEIGHT (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

IHDR-INTERLACE-METHOD (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

IHDR-WIDTH (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

PNG-IMAGE-IDAT (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

PNG-IMAGE-IHDR (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

PNG-IMAGE-PLTE (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

PNG-IMAGE-TRANSPARENT-COLOR (INSTANCE)

@arg[extid]{A @class{extid}} @return[sytemid]{puri:uri or nil} Returns the System ID part of this External ID.

READ-CHUNK (SOURCE)

Read a PNG chunk from 'source' and return the chunk type, a four character string, and a vector containing the data bytes. The CRC is not included into the data bytes. If eof occurs return NIL.

READ-FIXED-STRING (SOURCE N)

Read exactly 'n' bytes from 'source' and makeup an iso-latin-1 string.

READ-PNG-SIGNATURE-P (SOURCE)

Checks for PNG signature.

READ-UNSIGNED-BYTE-16 (SOURCE &OPTIONAL (EOF-ERROR-P T) EOF-VALUE)

Reads unsigned byte 16 from an byte stream in network order

READ-UNSIGNED-BYTE-32 (SOURCE &OPTIONAL (EOF-ERROR-P T) EOF-VALUE)

Reads unsigned byte 32 from an byte stream in network order

Undocumented

AIMAGE-P (OBJECT)

APPLY-PNG-FILTER (FILTER DATA J J0 LEN BPP)

COPY-IHDR (INSTANCE)

COPY-PNG-IMAGE (INSTANCE)

DECODE-TRNS (PALETTE DATA)

FULL-READ-BYTE-SEQUENCE (SEQUENCE INPUT &KEY (START 0) (END (LENGTH SEQUENCE)))

GET-SAMPLE (DATA I J BIT-DEPTH)

GET-SAMPLE* (DATA I J BIT-DEPTH)

SETFIHDR-BIT-DEPTH (NEW-VALUE INSTANCE)

SETFIHDR-COLOR-TYPE (NEW-VALUE INSTANCE)

SETFIHDR-COMPRESSION-METHOD (NEW-VALUE INSTANCE)

SETFIHDR-FILTER-METHOD (NEW-VALUE INSTANCE)

SETFIHDR-HEIGHT (NEW-VALUE INSTANCE)

SETFIHDR-INTERLACE-METHOD (NEW-VALUE INSTANCE)

IHDR-P (OBJECT)

SETFIHDR-WIDTH (NEW-VALUE INSTANCE)

MAKE-AIMAGE (WIDTH HEIGHT &KEY (ALPHA-P NIL))

MAKE-AIMAGE/LOW (&KEY ((WIDTH DUM0) 0) ((HEIGHT DUM1) 0) ((DATA DUM2) NIL) ((ALPHA-P DUM3) NIL) ((PLIST DUM4) NIL))

MAKE-IHDR (&KEY ((WIDTH DUM212) NIL) ((HEIGHT DUM213) NIL) ((BIT-DEPTH DUM214) NIL) ((COLOR-TYPE DUM215) NIL) ((COMPRESSION-METHOD DUM216) NIL) ((FILTER-METHOD DUM217) NIL) ((INTERLACE-METHOD DUM218) NIL))

MAKE-PNG-IMAGE (&KEY ((IHDR DUM170) NIL) ((IDAT DUM171) NIL) ((PLTE DUM172) NIL) ((TRANSPARENT-COLOR DUM173) NIL))

PAETH-PREDICTOR (A B C)

PNG-IMAGE-BITS-PER-PIXEL (IM)

PNG-IMAGE-BYTES-PER-PIXEL (IM)

SETFPNG-IMAGE-IDAT (NEW-VALUE INSTANCE)

SETFPNG-IMAGE-IHDR (NEW-VALUE INSTANCE)

PNG-IMAGE-P (OBJECT)

SETFPNG-IMAGE-PLTE (NEW-VALUE INSTANCE)

PNG-IMAGE-ROW-LENGTH (IM)

SETFPNG-IMAGE-TRANSPARENT-COLOR (NEW-VALUE INSTANCE)

READ-PNG-IMAGE (INPUT)

RENDER-FILTERED-ROW (IM BIT-DEPTH COLOR-TYPE TRANSPARENT-COLOR DATA J Y X0 DX WIDTH PW PH PUT-PIXEL)

RENDER-PNG-IMAGE-TO-AIMAGE (IM)

VARIABLE

Private

*PNG-MAGIC*

The first eight bytes of a png file.

CLASS

Private

Undocumented

AIMAGE

IHDR

PNG-IMAGE

CONSTANT

Private

Undocumented

+ADLER-BASE+