Common Lisp Package: NET.TUXEE.AA-MISC

README:

FUNCTION

Public

MAKE-IMAGE (WIDTH HEIGHT &OPTIONAL DEFAULT-COLOR)

Create a new image. width -- width of the image height -- height of the image default-color -- if not NIL, then the image is filled with the specified color. If unspecified, then the contents of the image is also unspecified. Return the newly created image.

SHOW-IMAGE (IMAGE &OPTIONAL (EXTERNAL-VIEWER *EXTERNAL-VIEWER*))

Display IMAGE using the specified external viewver.

Undocumented

IMAGE-HEIGHT (IMAGE)

IMAGE-PUT-PIXEL (IMAGE &OPTIONAL (COLOR #(0 0 0)) (OPACITY 1.0) (ALPHA-FUNCTION NORMALIZED))

IMAGE-PUT-SPAN (IMAGE &OPTIONAL (COLOR #(0 0 0)) (OPACITY 1.0) (ALPHA-FUNCTION NORMALIZED))

IMAGE-WIDTH (IMAGE)

LOAD-IMAGE (FILENAME FORMAT)

SAVE-IMAGE (FILENAME IMAGE FORMAT)

Private

SAVE-IMAGE/PNM (FILENAME IMAGE)

Save image with PNM format into the file with filename FILENAME. IMAGE must be an (UNSIGNED-BYTE 8) array of dimension (* * 3). Last axis represent the RGB component in that order.

Undocumented

%LOAD-IMAGE/PNM (FILENAME)

ALPHA/EVEN-ODD (ALPHA)

ALPHA/NORMALIZED (ALPHA)

BLEND-VALUE (A B ALPHA)

MAKE-ARRAY-FLAT-DISPLACED (ARRAY &OPTIONAL (START 0))

VARIABLE

Public

*EXTERNAL-VIEWER*

Default program to run to display a PNM image.