The imago Reference Manual

Table of Contents

Next: , Previous: , Up: (dir)   [Contents][Index]

The imago Reference Manual

This is the imago Reference Manual, version 0.9.0, generated automatically by Declt version 3.0 "Montgomery Scott" on Tue Dec 22 13:51:39 2020 GMT+0.


Next: , Previous: , Up: Top   [Contents][Index]

1 Introduction

Imago

CI

Imago is an image manipulation library for Common Lisp. It supports images in png, pcx, portable bitmap (.pnm), Truevision TGA (.tga) and jpeg formats. You can read an image with imago:read-image and write an image with imago:write-format where format is one of png, pcx, pnm, tga or jpg.

Reading from and writing to jpeg files with libjpeg-turbo

You can use more advanced libjpeg-turbo library to deal with jpeg files by loading imago/jpeg-turbo system. Make sure that libjpeg-turbo is installed on your system. Use imago-jpeg-turbo:read-jpg-turbo and imago-jpeg-turbo:write-jpg-turbo functions (or just imago:read-image and imago:write-image) to use this functionality.

Reading images with pngload

You can use more advanced and faster pngload library to read png files by loading imago/pngload system. Use imago-pngload:read-pngload (or just imago:read-image) to use this functionality. NB: pngload automatically converts indexed color images to RGB (or ARGB) images. If you want to work with indexed images, use old png loader instead.

Usage examples

All usage examples are taken from here.

Resizing an image

(resize *image* 400 150)

| Original | Processed | | -------- | --------- | | Original | Resized |

Applying an emboss effect

(emboss *image* :angle (* pi 0.75) :depth 1.0)

| Original | Processed | | -------- | --------- | | Original | Processed |

Using a custom convolution kernel

(let ((kernel #2A((0  0  0  0  0)
                  (0  0  1  0  0)
                  (0  1 -4  1  0)
                  (0  0  1  0  0)
                  (0  0  0  0  0))))
  (convolve *image* kernel 1 0))

| Original | Processed | | -------- | --------- | | Original | Processed |

Inverting a rectangular region

(do-region-pixels (*image* color x y 70 65 140 125)
  (setf color (invert-color color)))

| Original | Processed | | -------- | --------- | | Original | Processed |

Adjusting contrast of a grayscale image

(enhance-contrast *grayscale-image*)

| Original | Processed | | -------- | --------- | | Original | Processed |

Manipulating color components

(do-image-pixels (*image* color x y)
  (multiple-value-bind (r g b) (color-rgb color)
    (setf color (make-color b
                            (floor (* g 0.8))
                            r))))

| Original | Processed | | -------- | --------- | | Original | Processed |

Composing pictures

(let ((operator (default-compose-operator *image1*)))
  (compose nil *image1* *image2* 20 20 operator))

| Original 1 | Original 2 | Processed | | ---------- | ---------- | --------- | | City | Text | Composed |

Drawing simple primitives

(let ((points '(83 45 73 150 73 150 198 106 198 106 83 45)))
  (draw-polygon *image* points +white+ :closed t))
(draw-circle *image* 83 45 15 +white+)
(draw-circle *image* 73 150 15 +white+)
(draw-circle *image* 198 106 15 +white+)
(draw-bezier-curve *image* 10 80 150 60 100 170 200 170 +red+)
(draw-line *image* 0 5 254 5 +yellow+)
(draw-line *image* 0 10 254 10 +yellow+ :dash-length 1 :dash-interval 1)
(draw-line *image* 0 15 254 15 +yellow+ :dash-length 4 :dash-interval 2)

| Original | Processed | | -------- | --------- | | Original | Processed |

A more complex example

(defun sea-view (image)
  (let ((image2 (flip nil image :horizontal)))
    (do-image-pixels (image2 color x y)
      (multiple-value-bind (r g b)
          (color-rgb color)
        (setf color (make-color (floor r 3) (floor g 3) (floor b 2)))))
    (let* ((width (image-width image))
           (height (image-height image))
           (result (make-instance (class-of image)
                                  :width width :height (* height 2))))
      (copy result image)
      (copy result image2 :dest-y height)
      result)))

| Original | Processed | | -------- | --------- | | Original | Processed |


Next: , Previous: , Up: Top   [Contents][Index]

2 Systems

The main system appears first, followed by any subsystem dependency.


Previous: , Up: Systems   [Contents][Index]

2.1 imago

Author

Matthieu Villeneuve <matthieu.villeneuve@free.fr>

License

LLGPL

Description

Image manipulation library

Version

0.9.0

Dependencies
Source

imago.asd (file)

Components

Next: , Previous: , Up: Top   [Contents][Index]

3 Files

Files are sorted by type and then listed depth-first from the systems components trees.


Previous: , Up: Files   [Contents][Index]

3.1 Lisp


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.1 imago.asd

Location

imago.asd

Systems

imago (system)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.2 imago/package.lisp

Parent

imago (system)

Location

package.lisp

Packages

imago


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.3 imago/conditions.lisp

Dependency

package.lisp (file)

Parent

imago (system)

Location

conditions.lisp

Exported Definitions
Internal Definitions

unknown-format-pathname (method)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.4 imago/utilities.lisp

Dependency

package.lisp (file)

Parent

imago (system)

Location

utilities.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.5 imago/color.lisp

Dependency

package.lisp (file)

Parent

imago (system)

Location

color.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.6 imago/image.lisp

Dependency

package.lisp (file)

Parent

imago (system)

Location

image.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.7 imago/image-utilities.lisp

Dependencies
Parent

imago (system)

Location

image-utilities.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.8 imago/crc32.lisp

Dependency

package.lisp (file)

Parent

imago (system)

Location

crc32.lisp

Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.9 imago/drawing.lisp

Dependencies
Parent

imago (system)

Location

drawing.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.10 imago/convert.lisp

Dependencies
Parent

imago (system)

Location

convert.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.11 imago/convolve.lisp

Dependencies
Parent

imago (system)

Location

convolve.lisp

Exported Definitions
Internal Definitions

+emboss-matrix-cell-angles+ (special variable)


Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.12 imago/compose.lisp

Dependencies
Parent

imago (system)

Location

compose.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.13 imago/contrast.lisp

Dependencies
Parent

imago (system)

Location

contrast.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.14 imago/operations.lisp

Dependencies
Parent

imago (system)

Location

operations.lisp

Exported Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.15 imago/file.lisp

Dependency

conditions.lisp (file)

Parent

imago (system)

Location

file.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.16 imago/file-png.lisp

Dependencies
Parent

imago (system)

Location

file-png.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.17 imago/file-pnm.lisp

Dependencies
Parent

imago (system)

Location

file-pnm.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.18 imago/file-tga.lisp

Dependencies
Parent

imago (system)

Location

file-tga.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Lisp files   [Contents][Index]

3.1.19 imago/file-pcx.lisp

Dependencies
Parent

imago (system)

Location

file-pcx.lisp

Exported Definitions
Internal Definitions

Previous: , Up: Lisp files   [Contents][Index]

3.1.20 imago/file-jpg.lisp

Dependencies
Parent

imago (system)

Location

file-jpg.lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

4 Packages

Packages are listed by definition order.


Previous: , Up: Packages   [Contents][Index]

4.1 imago

Source

package.lisp (file)

Use List

common-lisp

Exported Definitions
Internal Definitions

Next: , Previous: , Up: Top   [Contents][Index]

5 Definitions

Definitions are sorted by export status, category, package, and then by lexicographic order.


Next: , Previous: , Up: Definitions   [Contents][Index]

5.1 Exported definitions


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.1 Special variables

Special Variable: +black+
Package

imago

Source

color.lisp (file)

Special Variable: +blue+
Package

imago

Source

color.lisp (file)

Special Variable: +cyan+
Package

imago

Source

color.lisp (file)

Special Variable: +green+
Package

imago

Source

color.lisp (file)

Special Variable: +magenta+
Package

imago

Source

color.lisp (file)

Special Variable: +red+
Package

imago

Source

color.lisp (file)

Special Variable: +white+
Package

imago

Source

color.lisp (file)

Special Variable: +yellow+
Package

imago

Source

color.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.2 Macros

Macro: do-image-pixels (IMAGE COLOR X Y) &body BODY

Iterates through all pixels of an image. For each pixel, X and Y are bound to the pixel coordinates, and COLOR is a generalized variable corresponding to the pixel color.

Package

imago

Source

image-utilities.lisp (file)

Macro: do-line-pixels (IMAGE COLOR X Y X1 Y1 X2 Y2) &body BODY

Iterates through all pixels of a line segment in an image, corresponding to the X1, Y1, X2 and Y2 parameters. For each pixel, X and Y are bound to the pixel coordinates, and COLOR is a generalized variable corresponding to the pixel color.

Package

imago

Source

image-utilities.lisp (file)

Macro: do-region-pixels (IMAGE COLOR X Y REGION-X REGION-Y REGION-WIDTH REGION-HEIGHT) &body BODY

Iterates through all pixels of a rectangular region in an image.
For each pixel, X and Y are bound to the pixel coordinates, and COLOR is a generalized variable corresponding to the pixel color.

Package

imago

Source

image-utilities.lisp (file)

Macro: with-image-definition (IMAGE WIDTH HEIGHT PIXELS) &body BODY

Binds the WIDTH, HEIGHT and PIXELS variables to the values corresponding to IMAGE, then evaluates the body.

Package

imago

Source

image-utilities.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.3 Functions

Function: blur IMAGE
Package

imago

Source

convolve.lisp (file)

Function: color-alpha COLOR
Package

imago

Source

color.lisp (file)

Function: color-argb COLOR
Package

imago

Source

color.lisp (file)

Function: color-blue COLOR
Package

imago

Source

color.lisp (file)

Function: color-green COLOR
Package

imago

Source

color.lisp (file)

Function: color-intensity COLOR
Package

imago

Source

color.lisp (file)

Function: color-red COLOR
Package

imago

Source

color.lisp (file)

Function: color-rgb COLOR
Package

imago

Source

color.lisp (file)

Function: draw-bezier-curve IMAGE X1 Y1 X2 Y2 X3 Y3 X4 Y4 COLOR

Draws a cublic Bezier curve defined by a starting point, two control points, and an end point, in an image.

Package

imago

Source

drawing.lisp (file)

Function: draw-circle IMAGE CENTER-X CENTER-Y RADIUS COLOR

Draws a circle in an image.

Package

imago

Source

drawing.lisp (file)

Function: draw-line IMAGE X1 Y1 X2 Y2 COLOR &key DASH-LENGTH DASH-INTERVAL

Draws a line between two points in an image.

Package

imago

Source

drawing.lisp (file)

Function: draw-point IMAGE X Y COLOR

Draws a point in an image.

Package

imago

Source

drawing.lisp (file)

Function: draw-polygon IMAGE COORD-LIST COLOR &key CLOSED DASH-LENGTH DASH-INTERVAL

Draws a polygon in an image.

Package

imago

Source

drawing.lisp (file)

Function: draw-rectangle IMAGE X1 Y1 WIDTH HEIGHT COLOR &key DASH-LENGTH DASH-INTERVAL

Draws a rectangle in an image.

Package

imago

Source

drawing.lisp (file)

Function: edge-detect IMAGE
Package

imago

Source

convolve.lisp (file)

Function: emboss IMAGE &key ANGLE DEPTH
Package

imago

Source

convolve.lisp (file)

Function: gray-alpha GRAY
Package

imago

Source

color.lisp (file)

Function: gray-intensity GRAY
Package

imago

Source

color.lisp (file)

Function: invert-color COLOR
Package

imago

Source

color.lisp (file)

Function: invert-gray GRAY
Package

imago

Source

color.lisp (file)

Function: make-color R G B &optional ALPHA
Package

imago

Source

color.lisp (file)

Function: make-gray INTENSITY &optional ALPHA
Package

imago

Source

color.lisp (file)

Function: read-image FILENAME &key ERRORP

Reads an image from a file. If the file format is not recognized, depending on the value of :ERRORP, either throws an error or returns NIL.

Package

imago

Source

file.lisp (file)

Function: read-jpg FILESPEC

Read grayscale or colorful jpeg image using cl-jpeg. Colorful images are converted to RGB colorspace.

Package

imago

Source

file-jpg.lisp (file)

Function: read-pcx FILESPEC
Package

imago

Source

file-pcx.lisp (file)

Function: read-png FILESPEC
Package

imago

Source

file-png.lisp (file)

Function: read-pnm FILESPEC

Reads data for an image in PNM format from a file, and returns a newly created image correponding to those data.

Package

imago

Source

file-pnm.lisp (file)

Function: read-tga FILESPEC
Package

imago

Source

file-tga.lisp (file)

Function: register-image-io-functions EXTENSIONS &key READER WRITER

This function is just a shorthand for REGISTER-IMAGE-READER and REGISTER-IMAGE-WRITER. Whenever READER and WRITER are not NIL, imago registers that I/O handler for the specified EXTENSIONS.

Package

imago

Source

file.lisp (file)

Function: register-image-reader EXTENSIONS FUNCTION

Register a reader function for some file extensions. The FUNCTION must take a FILESPEC as argument, and return an IMAGE.

Package

imago

Source

file.lisp (file)

Function: register-image-writer EXTENSIONS FUNCTION

Register a writer function for some file extensions. The FUNCTION must take an IMAGE and FILESPEC as arguments. To gain full control of writing options use specific WRITE-* functions.

Package

imago

Source

file.lisp (file)

Function: sharpen IMAGE
Package

imago

Source

convolve.lisp (file)

Function: write-image IMAGE FILENAME &key ERRORP

Writes an image IMAGE to a file. If the file format is not recognized, depending on the value of :ERRORP, either throws an error or returns NIL.

Package

imago

Source

file.lisp (file)

Function: write-jpg IMAGE FILESPEC &key QUALITY

Write imago image to jpeg file. QUALITY is an integer from 1 to 64 where 64 is default and the best quality.

Package

imago

Source

file-jpg.lisp (file)

Function: write-pcx IMAGE FILESPEC &key MAX-RUN-LENGTH EVEN-SCANLINE-LENGTHS-P

Write the given IMAGE to a Z-Soft PCX 3.0 format file named by FILESPEC.

MAX-RUN-LENGTH => The longest run the PCX encoder will output. This can be as large as 63 (the default), but to support old and broken decoders, it should be set to 15. I’ve never seen a decoder so broken that it won’t read >15 byte runs, but they do exist, so the option is here.

EVEN-SCANLINE-LENGTHS-P => When set, will pad scanlines so that they are an even length. Supposedly there are decoders that want this behavior, but it’s not necessary for most decoders.

Package

imago

Source

file-pcx.lisp (file)

Function: write-png IMAGE FILESPEC
Package

imago

Source

file-png.lisp (file)

Function: write-pnm IMAGE FILESPEC OUTPUT-FORMAT

Writes the image data to a file in PNM format. OUTPUT-FORMAT can be either :ASCII or :BINARY.

Package

imago

Source

file-pnm.lisp (file)

Function: write-tga IMAGE FILESPEC &key TOP-DOWN-P
Package

imago

Source

file-tga.lisp (file)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.4 Generic functions

Generic Function: compose DEST IMAGE1 IMAGE2 X Y OPERATOR

Composes IMAGE1 and IMAGE2 at offset (X, Y), using
OPERATOR to compose each pixel. OPERATOR must be a function of two colors, returning a color.

Package

imago

Source

compose.lisp (file)

Methods
Method: compose (DEST image) (IMAGE1 image) (IMAGE2 image) X Y OPERATOR
Method: compose (DEST (eql nil)) (IMAGE1 image) (IMAGE2 image) X Y OPERATOR
Generic Function: convert-to-grayscale IMAGE
Package

imago

Source

convert.lisp (file)

Methods
Method: convert-to-grayscale (IMAGE indexed-image)
Method: convert-to-grayscale (IMAGE rgb-image)
Method: convert-to-grayscale (IMAGE image)
Method: convert-to-grayscale (IMAGE grayscale-image)
Generic Function: convert-to-indexed IMAGE
Package

imago

Source

convert.lisp (file)

Methods
Method: convert-to-indexed (IMAGE grayscale-image)
Method: convert-to-indexed (IMAGE image)
Method: convert-to-indexed (IMAGE indexed-image)
Generic Function: convert-to-planar IMAGE
Package

imago

Source

convert.lisp (file)

Methods
Method: convert-to-planar (IMAGE image)
Method: convert-to-planar (IMAGE planar-image)
Generic Function: convert-to-rgb IMAGE
Package

imago

Source

convert.lisp (file)

Methods
Method: convert-to-rgb (IMAGE grayscale-image)
Method: convert-to-rgb (IMAGE indexed-image)
Method: convert-to-rgb (IMAGE image)
Method: convert-to-rgb (IMAGE rgb-image)
Generic Function: convolve IMAGE MATRIX DIVISOR OFFSET

Applies a 5x5 convolution kernel (a 5x5 real number matrix) to an image. Returns the resulting image.

Package

imago

Source

convolve.lisp (file)

Methods
Method: convolve (IMAGE grayscale-image) MATRIX DIVISOR OFFSET
Method: convolve (IMAGE rgb-image) MATRIX DIVISOR OFFSET
Generic Function: copy DEST SRC &key DEST-X DEST-Y SRC-X SRC-Y WIDTH HEIGHT

Copies a rectangular region from image SRC to image DEST.
Both images must be large enough to contain the specified region at the given positions. Both images must be of same type.

Package

imago

Source

operations.lisp (file)

Methods
Method: copy (DEST image) (SRC image) &key DEST-X DEST-Y SRC-X SRC-Y WIDTH HEIGHT
Method: copy (DEST (eql nil)) (SRC planar-image) &key DEST-X DEST-Y SRC-X SRC-Y WIDTH HEIGHT
Method: copy (DEST (eql nil)) (SRC indexed-image) &key DEST-X DEST-Y SRC-X SRC-Y WIDTH HEIGHT around
Method: copy (DEST (eql nil)) (SRC image) &key DEST-X DEST-Y SRC-X SRC-Y WIDTH HEIGHT
Generic Function: crop IMAGE X Y WIDTH HEIGHT

Crops an image. The resulting image is WIDTHxHEIGHT
and its top left corner has coordinates (X, Y) in the original image space. If crop rectangle is exceeding dimensions of the original image, OPERATION-ERROR is signalled.

Package

imago

Source

operations.lisp (file)

Methods
Method: crop (IMAGE image) X Y WIDTH HEIGHT
Generic Function: enhance-contrast IMAGE

Enhance the contrast of an image

Package

imago

Source

contrast.lisp (file)

Methods
Method: enhance-contrast (IMAGE grayscale-image)

Enhance the contrast of an IMAGE using a general histogram equalization algorithm

Generic Function: flip DEST IMAGE AXIS

Flips an image. AXIS may be either :HORIZONTAL or
:VERTICAL. DEST must be either an image of same type and dimensions as IMAGE, or NIL. Returns the resulting image.

Package

imago

Source

operations.lisp (file)

Methods
Method: flip (DEST image) (IMAGE image) (AXIS (eql vertical))
Method: flip (DEST image) (IMAGE image) (AXIS (eql horizontal))
Method: flip (DEST (eql nil)) (IMAGE image) AXIS
Generic Function: image-colormap OBJECT
Package

imago

Methods
Method: image-colormap (PLANAR-IMAGE planar-image)

automatically generated reader method

Source

image.lisp (file)

Method: image-colormap (INDEXED-IMAGE indexed-image)

automatically generated reader method

Source

image.lisp (file)

Generic Function: image-height IMAGE

Returns the height of the image.

Package

imago

Source

image.lisp (file)

Methods
Method: image-height (IMAGE image)
Generic Function: image-pixel IMAGE X Y

Returns the color of the pixel at specified coordinates in the image.

Package

imago

Source

image.lisp (file)

Writer

(setf image-pixel) (generic function)

Methods
Method: image-pixel (IMAGE image) X Y
Generic Function: (setf image-pixel) PIXEL IMAGE X Y

Sets the color of the pixel at specified coordinates in the image.

Package

imago

Source

image.lisp (file)

Reader

image-pixel (generic function)

Methods
Method: (setf image-pixel) PIXEL (IMAGE image) X Y
Generic Function: image-pixels IMAGE

Returns a rectangular array of the image pixels.

Package

imago

Source

image.lisp (file)

Methods
Method: image-pixels (PLANAR-IMAGE planar-image)

automatically generated reader method

Method: image-pixels (INDEXED-IMAGE indexed-image)

automatically generated reader method

Method: image-pixels (GRAYSCALE-IMAGE grayscale-image)

automatically generated reader method

Method: image-pixels (RGB-IMAGE rgb-image)

automatically generated reader method

Generic Function: image-plane-count OBJECT
Package

imago

Methods
Method: image-plane-count (PLANAR-IMAGE planar-image)

automatically generated reader method

Source

image.lisp (file)

Generic Function: image-width IMAGE

Returns the width of the image.

Package

imago

Source

image.lisp (file)

Methods
Method: image-width (IMAGE image)
Generic Function: resize IMAGE NEW-WIDTH NEW-HEIGHT

Returns an newly created image corresponding to the IMAGE image, with given dimensions.

Package

imago

Source

operations.lisp (file)

Methods
Method: resize (IMAGE image) NEW-WIDTH NEW-HEIGHT
Generic Function: scale IMAGE WIDTH-FACTOR HEIGHT-FACTOR

Returns an newly created image corresponding to the
IMAGE image, with its dimensions multiplied by the given factors.

Package

imago

Source

operations.lisp (file)

Methods
Method: scale (IMAGE image) WIDTH-FACTOR HEIGHT-FACTOR
Generic Function: set-alpha IMAGE ALPHA

Sets the alpha channel value for all pixels/colors in an image.

Package

imago

Source

image-utilities.lisp (file)

Methods
Method: set-alpha (IMAGE indexed-image) ALPHA
Method: set-alpha (IMAGE grayscale-image) ALPHA
Method: set-alpha (IMAGE rgb-image) ALPHA

Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.5 Conditions

Condition: decode-error ()

Signaled when decoding process has errored

Package

imago

Source

conditions.lisp (file)

Direct superclasses
Condition: imago-condition ()

Generic imago condition

Package

imago

Source

conditions.lisp (file)

Direct superclasses

condition (condition)

Direct subclasses

imago-error (condition)

Condition: imago-error ()

Generic imago error

Package

imago

Source

conditions.lisp (file)

Direct superclasses
Direct subclasses
Condition: not-implemented ()

Signaled when the performed action is not implemented

Package

imago

Source

conditions.lisp (file)

Direct superclasses

imago-error (condition)

Condition: operation-error ()

Signaled when operation cannot be performed

Package

imago

Source

conditions.lisp (file)

Direct superclasses
Condition: unknown-format ()

Signaled when trying to write to or read from an image with unknown format

Package

imago

Source

conditions.lisp (file)

Direct superclasses

imago-error (condition)

Direct methods

unknown-format-pathname (method)

Direct slots
Slot: pathname
Initargs

:pathname

Readers

unknown-format-pathname (generic function)


Next: , Previous: , Up: Exported definitions   [Contents][Index]

5.1.6 Classes

Class: grayscale-image ()

The class for grayscale images. Image dimensions must be provided to MAKE-INSTANCE, through the :WIDTH and :HEIGHT keyword parameters.

Package

imago

Source

image.lisp (file)

Direct superclasses

image (class)

Direct methods
Direct slots
Slot: pixels
Type

(simple-array imago:grayscale-pixel (* *))

Readers

image-pixels (generic function)

Class: image ()

The protocol class for images.

Package

imago

Source

image.lisp (file)

Direct superclasses

standard-object (class)

Direct subclasses
Direct methods
Class: indexed-image ()

The class for indexed images. Image dimensions must be
provided to MAKE-INSTANCE, through the :WIDTH and :HEIGHT keyword parameters. Also accepts a :COLOR-COUNT keyword parameter, to specify the image color count (256 by default).

Package

imago

Source

image.lisp (file)

Direct superclasses

image (class)

Direct methods
Direct slots
Slot: pixels
Type

(simple-array imago:indexed-pixel (* *))

Readers

image-pixels (generic function)

Slot: colormap
Initargs

:colormap

Readers

image-colormap (generic function)

Class: planar-image ()

The class for planar images. Image dimensions and
plane count must be provided to MAKE-INSTANCE, through the :WIDTH, :HEIGHT, and :PLANE-COUNT keyword parameters, respectively.

Package

imago

Source

image.lisp (file)

Direct superclasses

image (class)

Direct methods
Direct slots
Slot: pixels
Type

simple-array

Readers

image-pixels (generic function)

Slot: plane-count
Type

integer

Readers

image-plane-count (generic function)

Slot: colormap
Initargs

:colormap

Readers

image-colormap (generic function)

Class: rgb-image ()

The class for RGB images. Image dimensions must be
provided to MAKE-INSTANCE, through the :WIDTH and :HEIGHT keyword parameters.

Package

imago

Source

image.lisp (file)

Direct superclasses

image (class)

Direct methods
Direct slots
Slot: pixels
Type

(simple-array imago:rgb-pixel (* *))

Readers

image-pixels (generic function)


Previous: , Up: Exported definitions   [Contents][Index]

5.1.7 Types

Type: grayscale-pixel ()
Package

imago

Source

color.lisp (file)

Type: indexed-pixel ()
Package

imago

Source

color.lisp (file)

Type: planar-pixel &optional PLANE-COUNT
Package

imago

Source

color.lisp (file)

Type: rgb-pixel ()
Package

imago

Source

color.lisp (file)


Previous: , Up: Definitions   [Contents][Index]

5.2 Internal definitions


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.1 Special variables

Special Variable: *image-file-readers*
Package

imago

Source

file.lisp (file)

Special Variable: *image-file-writers*
Package

imago

Source

file.lisp (file)

Special Variable: +crc32-table+
Package

imago

Source

crc32.lisp (file)

Special Variable: +emboss-matrix-cell-angles+
Package

imago

Source

convolve.lisp (file)

Special Variable: +png-idat-chunk-type+
Package

imago

Source

file-png.lisp (file)

Special Variable: +png-iend-chunk-type+
Package

imago

Source

file-png.lisp (file)

Special Variable: +png-ihdr-chunk-type+
Package

imago

Source

file-png.lisp (file)

Special Variable: +png-plte-chunk-type+
Package

imago

Source

file-png.lisp (file)

Special Variable: +png-signature+
Package

imago

Source

file-png.lisp (file)

Special Variable: +pnm-image-makers+
Package

imago

Source

file-pnm.lisp (file)

Special Variable: +pnm-pixel-readers+
Package

imago

Source

file-pnm.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.2 Macros

Macro: do-image-pixels* (PIXEL PIXELS) &body BODY
Package

imago

Source

contrast.lisp (file)

Macro: read-array-element ARRAY INDEX
Package

imago

Source

utilities.lisp (file)

Macro: with-gensyms VARS &body BODY

Bind variables to gensyms and execute the BODY forms in an implicit PROGN.

Package

imago

Source

utilities.lisp (file)

Macro: with-write-pnm-loop (STREAM X Y PIXELS MAGIC-NUMBER MAX-VALUE) &body BODY
Package

imago

Source

file-pnm.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.3 Functions

Function: best-in-array F ARRAY &key TEST
Package

imago

Source

utilities.lisp (file)

Function: cdt->equalization-table DISTRIBUTION-TABLE

Destructive function that mutates a distribution table into a equalization table

Package

imago

Source

contrast.lisp (file)

Function: closest-colortable-entry COLOR TABLE
Package

imago

Source

color.lisp (file)

Function: colormap->pcx-ega-palette COLORMAP EGA-PALETTE
Package

imago

Source

file-pcx.lisp (file)

Function: copy-png-descriptor INSTANCE
Package

imago

Source

file-png.lisp (file)

Function: crc32 BUFFER
Package

imago

Source

crc32.lisp (file)

Function: decode-png-colormap DATA
Package

imago

Source

file-png.lisp (file)

Function: decode-png-descriptor DATA
Package

imago

Source

file-png.lisp (file)

Function: decode-png-image DESCRIPTOR DATA
Package

imago

Source

file-png.lisp (file)

Function: fill-pcx-scanline-buffer IMAGE SCANLINE PLANE BUFFER
Package

imago

Source

file-pcx.lisp (file)

Function: histogram->cdt HISTOGRAM

Destructive function that mutates a histogram into a cumulative distribution table

Package

imago

Source

contrast.lisp (file)

Function: images-same-dimensions-p &rest IMAGES
Package

imago

Source

image-utilities.lisp (file)

Function: images-same-type-p &rest IMAGES
Package

imago

Source

image-utilities.lisp (file)

Function: in-image-p X Y IMAGE

Checks that the point with coordinates (X, Y) is inside IMAGE.

Package

imago

Source

image-utilities.lisp (file)

Function: in-region-p X Y REGION-X REGION-Y REGION-WIDTH REGION-HEIGHT

Checks that the point with coordinates (X, Y) is inside the given region.

Package

imago

Source

image-utilities.lisp (file)

Function: limit-value VALUE MIN MAX
Package

imago

Source

utilities.lisp (file)

Function: make-histogram IMAGE
Package

imago

Source

contrast.lisp (file)

Function: make-png-descriptor &key (WIDTH WIDTH) (HEIGHT HEIGHT) (DEPTH DEPTH) (COLOR-TYPE COLOR-TYPE) (COMPRESSION-METHOD COMPRESSION-METHOD) (FILTER-METHOD FILTER-METHOD) (INTERLACE-METHOD INTERLACE-METHOD)
Package

imago

Source

file-png.lisp (file)

Function: make-simple-gray-colormap ()
Package

imago

Source

color.lisp (file)

Function: pcx-ega-palette->colormap EGA-PALETTE COLORMAP
Package

imago

Source

file-pcx.lisp (file)

Function: png-descriptor-color-type INSTANCE
Function: (setf png-descriptor-color-type) VALUE INSTANCE
Package

imago

Source

file-png.lisp (file)

Function: png-descriptor-compression-method INSTANCE
Function: (setf png-descriptor-compression-method) VALUE INSTANCE
Package

imago

Source

file-png.lisp (file)

Function: png-descriptor-depth INSTANCE
Function: (setf png-descriptor-depth) VALUE INSTANCE
Package

imago

Source

file-png.lisp (file)

Function: png-descriptor-filter-method INSTANCE
Function: (setf png-descriptor-filter-method) VALUE INSTANCE
Package

imago

Source

file-png.lisp (file)

Function: png-descriptor-height INSTANCE
Function: (setf png-descriptor-height) VALUE INSTANCE
Package

imago

Source

file-png.lisp (file)

Function: png-descriptor-interlace-method INSTANCE
Function: (setf png-descriptor-interlace-method) VALUE INSTANCE
Package

imago

Source

file-png.lisp (file)

Function: png-descriptor-p OBJECT
Package

imago

Source

file-png.lisp (file)

Function: png-descriptor-width INSTANCE
Function: (setf png-descriptor-width) VALUE INSTANCE
Package

imago

Source

file-png.lisp (file)

Function: png-paeth A B C
Package

imago

Source

file-png.lisp (file)

Function: png-samples-per-pixel COLOR-TYPE
Package

imago

Source

file-png.lisp (file)

Function: read-ascii-rgb-pixel STREAM
Package

imago

Source

file-pnm.lisp (file)

Function: read-bin-rgb-pixel STREAM
Package

imago

Source

file-pnm.lisp (file)

Function: read-byte-array STREAM LENGTH
Package

imago

Source

utilities.lisp (file)

Function: read-integer-as-text STREAM &key BASE

Reads the text representation of a number from a binary output stream.

Package

imago

Source

utilities.lisp (file)

Function: read-lsb-integer STREAM SIZE
Package

imago

Source

utilities.lisp (file)

Function: read-msb-integer STREAM SIZE
Package

imago

Source

utilities.lisp (file)

Function: read-number STREAM
Package

imago

Source

utilities.lisp (file)

Function: read-number2 STREAM
Package

imago

Source

file-pnm.lisp (file)

Function: read-pcx-data STREAM IMAGE COLOR-PLANES BYTES-PER-LINE
Package

imago

Source

file-pcx.lisp (file)

Function: read-pcx-vga-palette STREAM IMAGE
Package

imago

Source

file-pcx.lisp (file)

Function: read-png-chunk STREAM
Package

imago

Source

file-png.lisp (file)

Function: read-png-sample DATA BIT-INDEX DEPTH
Package

imago

Source

file-png.lisp (file)

Function: read-png-signature STREAM
Package

imago

Source

file-png.lisp (file)

Function: read-pnm-from-stream STREAM
Package

imago

Source

file-pnm.lisp (file)

Function: read-pnm-info STREAM
Package

imago

Source

file-pnm.lisp (file)

Function: read-tga-color STREAM BPP
Package

imago

Source

file-tga.lisp (file)

Function: read-tga-color-index STREAM BPP
Package

imago

Source

file-tga.lisp (file)

Function: read-tga-colormap STREAM ORIGIN LENGTH BPP
Package

imago

Source

file-tga.lisp (file)

Function: read-tga-data STREAM IMAGE WIDTH HEIGHT TOP-DOWN-P READER BPP
Package

imago

Source

file-tga.lisp (file)

Function: register-image-io-function EXTENSIONS FUNCTION TABLE
Package

imago

Source

file.lisp (file)

Function: skip-bytes STREAM COUNT
Package

imago

Source

utilities.lisp (file)

Function: skip-line STREAM
Package

imago

Source

utilities.lisp (file)

Function: skip-whitespace-and-comments STREAM &optional COMMENT-START
Package

imago

Source

utilities.lisp (file)

Function: square X
Package

imago

Source

utilities.lisp (file)

Function: update-crc32 CRC BUFFER
Package

imago

Source

crc32.lisp (file)

Function: write-integer-as-text STREAM NUMBER &key BASE

Writes the text representation of a number to a binary output stream.

Package

imago

Source

utilities.lisp (file)

Function: write-lsb-integer NUMBER STREAM SIZE

Writes SIZE bytes of the integer NUMBER to STREAM, in least-significant bit order.

Package

imago

Source

utilities.lisp (file)

Function: write-msb-integer NUMBER STREAM SIZE

Writes SIZE bytes of the integer NUMBER to STREAM, in most-significant bit order.

Package

imago

Source

utilities.lisp (file)

Function: write-pcx-body STREAM IMAGE COLOR-PLANES BYTES-PER-LINE MAX-RUN-LENGTH
Package

imago

Source

file-pcx.lisp (file)

Function: write-png-chunk DATA TYPE STREAM
Package

imago

Source

file-png.lisp (file)

Function: write-png-data-chunk STREAM IMAGE
Package

imago

Source

file-png.lisp (file)

Function: write-png-end-chunk STREAM
Package

imago

Source

file-png.lisp (file)

Function: write-png-header-chunk STREAM IMAGE
Package

imago

Source

file-png.lisp (file)

Function: write-png-signature STREAM
Package

imago

Source

file-png.lisp (file)

Function: write-tga-data IMAGE TOP-DOWN-P PIXEL-WRITER
Package

imago

Source

file-tga.lisp (file)


Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.4 Generic functions

Generic Function: default-compose-operator IMAGE

Returns a compose operator that can be applied to
images of the same type as IMAGE. The default operator mixes colors according to their respective alpha component.

Package

imago

Source

compose.lisp (file)

Methods
Method: default-compose-operator (IMAGE rgb-image)
Generic Function: image-png-color-type IMAGE
Package

imago

Source

file-png.lisp (file)

Methods
Method: image-png-color-type (IMAGE indexed-image)
Method: image-png-color-type (IMAGE grayscale-image)
Method: image-png-color-type (IMAGE rgb-image)
Generic Function: make-similar-image IMAGE

Returns a new image, with same type and dimensions as IMAGE.

Package

imago

Source

image-utilities.lisp (file)

Methods
Method: make-similar-image (IMAGE image)
Generic Function: pixel-size IMAGE

Returns the number of bytes used to represent a pixel.

Package

imago

Source

image.lisp (file)

Methods
Method: pixel-size (IMAGE planar-image)
Method: pixel-size (IMAGE indexed-image)
Method: pixel-size (IMAGE grayscale-image)
Method: pixel-size (IMAGE rgb-image)
Generic Function: read-jpg-pixel IMAGE ARRAY IDX

Read a pixel from an array with jpeg data

Package

imago

Source

file-jpg.lisp (file)

Methods
Method: read-jpg-pixel (IMAGE rgb-image) ARRAY IDX
Method: read-jpg-pixel (IMAGE grayscale-image) ARRAY IDX
Generic Function: unknown-format-pathname CONDITION
Package

imago

Methods
Method: unknown-format-pathname (CONDITION unknown-format)
Source

conditions.lisp (file)

Generic Function: write-jpg-pixel IMAGE ARRAY IDX

Write a pixel at row-major index IDX to the one dimensional array

Package

imago

Source

file-jpg.lisp (file)

Methods
Method: write-jpg-pixel (IMAGE rgb-image) ARRAY IDX
Method: write-jpg-pixel (IMAGE grayscale-image) ARRAY IDX
Generic Function: write-png-colormap-chunk STREAM IMAGE
Package

imago

Source

file-png.lisp (file)

Methods
Method: write-png-colormap-chunk STREAM (IMAGE indexed-image)
Method: write-png-colormap-chunk STREAM (IMAGE image)
Generic Function: write-png-pixel-bytes DEST IMAGE X Y INDEX
Package

imago

Source

file-png.lisp (file)

Methods
Method: write-png-pixel-bytes DEST (IMAGE indexed-image) X Y INDEX
Method: write-png-pixel-bytes DEST (IMAGE grayscale-image) X Y INDEX
Method: write-png-pixel-bytes DEST (IMAGE rgb-image) X Y INDEX
Generic Function: write-pnm-to-stream IMAGE STREAM OUTPUT-FORMAT
Package

imago

Source

file-pnm.lisp (file)

Methods
Method: write-pnm-to-stream (IMAGE indexed-image) STREAM (OUTPUT-FORMAT (eql binary))
Method: write-pnm-to-stream (IMAGE indexed-image) STREAM (OUTPUT-FORMAT (eql ascii))
Method: write-pnm-to-stream (IMAGE grayscale-image) STREAM (OUTPUT-FORMAT (eql binary))
Method: write-pnm-to-stream (IMAGE grayscale-image) STREAM (OUTPUT-FORMAT (eql ascii))
Method: write-pnm-to-stream (IMAGE rgb-image) STREAM (OUTPUT-FORMAT (eql binary))
Method: write-pnm-to-stream (IMAGE rgb-image) STREAM (OUTPUT-FORMAT (eql ascii))
Generic Function: write-tga-to-stream IMAGE STREAM TOP-DOWN-P
Package

imago

Source

file-tga.lisp (file)

Methods
Method: write-tga-to-stream (IMAGE indexed-image) STREAM TOP-DOWN-P
Method: write-tga-to-stream (IMAGE rgb-image) STREAM TOP-DOWN-P

Next: , Previous: , Up: Internal definitions   [Contents][Index]

5.2.5 Structures

Structure: png-descriptor ()
Package

imago

Source

file-png.lisp (file)

Direct superclasses

structure-object (structure)

Direct slots
Slot: width
Readers

png-descriptor-width (function)

Writers

(setf png-descriptor-width) (function)

Slot: height
Readers

png-descriptor-height (function)

Writers

(setf png-descriptor-height) (function)

Slot: depth
Readers

png-descriptor-depth (function)

Writers

(setf png-descriptor-depth) (function)

Slot: color-type
Readers

png-descriptor-color-type (function)

Writers

(setf png-descriptor-color-type) (function)

Slot: compression-method
Readers

png-descriptor-compression-method (function)

Writers

(setf png-descriptor-compression-method) (function)

Slot: filter-method
Readers

png-descriptor-filter-method (function)

Writers

(setf png-descriptor-filter-method) (function)

Slot: interlace-method
Readers

png-descriptor-interlace-method (function)

Writers

(setf png-descriptor-interlace-method) (function)


Previous: , Up: Internal definitions   [Contents][Index]

5.2.6 Types

Type: histogram ()
Package

imago

Source

contrast.lisp (file)

Type: non-negative-fixnum ()
Package

imago

Source

utilities.lisp (file)

Type: positive-fixnum ()
Package

imago

Source

utilities.lisp (file)


Previous: , Up: Top   [Contents][Index]

Appendix A Indexes


Next: , Previous: , Up: Indexes   [Contents][Index]

A.1 Concepts

Jump to:   F   I   L  
Index Entry  Section

F
File, Lisp, imago.asd: The imago․asd file
File, Lisp, imago/color.lisp: The imago/color․lisp file
File, Lisp, imago/compose.lisp: The imago/compose․lisp file
File, Lisp, imago/conditions.lisp: The imago/conditions․lisp file
File, Lisp, imago/contrast.lisp: The imago/contrast․lisp file
File, Lisp, imago/convert.lisp: The imago/convert․lisp file
File, Lisp, imago/convolve.lisp: The imago/convolve․lisp file
File, Lisp, imago/crc32.lisp: The imago/crc32․lisp file
File, Lisp, imago/drawing.lisp: The imago/drawing․lisp file
File, Lisp, imago/file-jpg.lisp: The imago/file-jpg․lisp file
File, Lisp, imago/file-pcx.lisp: The imago/file-pcx․lisp file
File, Lisp, imago/file-png.lisp: The imago/file-png․lisp file
File, Lisp, imago/file-pnm.lisp: The imago/file-pnm․lisp file
File, Lisp, imago/file-tga.lisp: The imago/file-tga․lisp file
File, Lisp, imago/file.lisp: The imago/file․lisp file
File, Lisp, imago/image-utilities.lisp: The imago/image-utilities․lisp file
File, Lisp, imago/image.lisp: The imago/image․lisp file
File, Lisp, imago/operations.lisp: The imago/operations․lisp file
File, Lisp, imago/package.lisp: The imago/package․lisp file
File, Lisp, imago/utilities.lisp: The imago/utilities․lisp file

I
imago.asd: The imago․asd file
imago/color.lisp: The imago/color․lisp file
imago/compose.lisp: The imago/compose․lisp file
imago/conditions.lisp: The imago/conditions․lisp file
imago/contrast.lisp: The imago/contrast․lisp file
imago/convert.lisp: The imago/convert․lisp file
imago/convolve.lisp: The imago/convolve․lisp file
imago/crc32.lisp: The imago/crc32․lisp file
imago/drawing.lisp: The imago/drawing․lisp file
imago/file-jpg.lisp: The imago/file-jpg․lisp file
imago/file-pcx.lisp: The imago/file-pcx․lisp file
imago/file-png.lisp: The imago/file-png․lisp file
imago/file-pnm.lisp: The imago/file-pnm․lisp file
imago/file-tga.lisp: The imago/file-tga․lisp file
imago/file.lisp: The imago/file․lisp file
imago/image-utilities.lisp: The imago/image-utilities․lisp file
imago/image.lisp: The imago/image․lisp file
imago/operations.lisp: The imago/operations․lisp file
imago/package.lisp: The imago/package․lisp file
imago/utilities.lisp: The imago/utilities․lisp file

L
Lisp File, imago.asd: The imago․asd file
Lisp File, imago/color.lisp: The imago/color․lisp file
Lisp File, imago/compose.lisp: The imago/compose․lisp file
Lisp File, imago/conditions.lisp: The imago/conditions․lisp file
Lisp File, imago/contrast.lisp: The imago/contrast․lisp file
Lisp File, imago/convert.lisp: The imago/convert․lisp file
Lisp File, imago/convolve.lisp: The imago/convolve․lisp file
Lisp File, imago/crc32.lisp: The imago/crc32․lisp file
Lisp File, imago/drawing.lisp: The imago/drawing․lisp file
Lisp File, imago/file-jpg.lisp: The imago/file-jpg․lisp file
Lisp File, imago/file-pcx.lisp: The imago/file-pcx․lisp file
Lisp File, imago/file-png.lisp: The imago/file-png․lisp file
Lisp File, imago/file-pnm.lisp: The imago/file-pnm․lisp file
Lisp File, imago/file-tga.lisp: The imago/file-tga․lisp file
Lisp File, imago/file.lisp: The imago/file․lisp file
Lisp File, imago/image-utilities.lisp: The imago/image-utilities․lisp file
Lisp File, imago/image.lisp: The imago/image․lisp file
Lisp File, imago/operations.lisp: The imago/operations․lisp file
Lisp File, imago/package.lisp: The imago/package․lisp file
Lisp File, imago/utilities.lisp: The imago/utilities․lisp file

Jump to:   F   I   L  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.2 Functions

Jump to:   (  
B   C   D   E   F   G   H   I   L   M   P   R   S   U   W  
Index Entry  Section

(
(setf image-pixel): Exported generic functions
(setf image-pixel): Exported generic functions
(setf png-descriptor-color-type): Internal functions
(setf png-descriptor-compression-method): Internal functions
(setf png-descriptor-depth): Internal functions
(setf png-descriptor-filter-method): Internal functions
(setf png-descriptor-height): Internal functions
(setf png-descriptor-interlace-method): Internal functions
(setf png-descriptor-width): Internal functions

B
best-in-array: Internal functions
blur: Exported functions

C
cdt->equalization-table: Internal functions
closest-colortable-entry: Internal functions
color-alpha: Exported functions
color-argb: Exported functions
color-blue: Exported functions
color-green: Exported functions
color-intensity: Exported functions
color-red: Exported functions
color-rgb: Exported functions
colormap->pcx-ega-palette: Internal functions
compose: Exported generic functions
compose: Exported generic functions
compose: Exported generic functions
convert-to-grayscale: Exported generic functions
convert-to-grayscale: Exported generic functions
convert-to-grayscale: Exported generic functions
convert-to-grayscale: Exported generic functions
convert-to-grayscale: Exported generic functions
convert-to-indexed: Exported generic functions
convert-to-indexed: Exported generic functions
convert-to-indexed: Exported generic functions
convert-to-indexed: Exported generic functions
convert-to-planar: Exported generic functions
convert-to-planar: Exported generic functions
convert-to-planar: Exported generic functions
convert-to-rgb: Exported generic functions
convert-to-rgb: Exported generic functions
convert-to-rgb: Exported generic functions
convert-to-rgb: Exported generic functions
convert-to-rgb: Exported generic functions
convolve: Exported generic functions
convolve: Exported generic functions
convolve: Exported generic functions
copy: Exported generic functions
copy: Exported generic functions
copy: Exported generic functions
copy: Exported generic functions
copy: Exported generic functions
copy-png-descriptor: Internal functions
crc32: Internal functions
crop: Exported generic functions
crop: Exported generic functions

D
decode-png-colormap: Internal functions
decode-png-descriptor: Internal functions
decode-png-image: Internal functions
default-compose-operator: Internal generic functions
default-compose-operator: Internal generic functions
do-image-pixels: Exported macros
do-image-pixels*: Internal macros
do-line-pixels: Exported macros
do-region-pixels: Exported macros
draw-bezier-curve: Exported functions
draw-circle: Exported functions
draw-line: Exported functions
draw-point: Exported functions
draw-polygon: Exported functions
draw-rectangle: Exported functions

E
edge-detect: Exported functions
emboss: Exported functions
enhance-contrast: Exported generic functions
enhance-contrast: Exported generic functions

F
fill-pcx-scanline-buffer: Internal functions
flip: Exported generic functions
flip: Exported generic functions
flip: Exported generic functions
flip: Exported generic functions
Function, (setf png-descriptor-color-type): Internal functions
Function, (setf png-descriptor-compression-method): Internal functions
Function, (setf png-descriptor-depth): Internal functions
Function, (setf png-descriptor-filter-method): Internal functions
Function, (setf png-descriptor-height): Internal functions
Function, (setf png-descriptor-interlace-method): Internal functions
Function, (setf png-descriptor-width): Internal functions
Function, best-in-array: Internal functions
Function, blur: Exported functions
Function, cdt->equalization-table: Internal functions
Function, closest-colortable-entry: Internal functions
Function, color-alpha: Exported functions
Function, color-argb: Exported functions
Function, color-blue: Exported functions
Function, color-green: Exported functions
Function, color-intensity: Exported functions
Function, color-red: Exported functions
Function, color-rgb: Exported functions
Function, colormap->pcx-ega-palette: Internal functions
Function, copy-png-descriptor: Internal functions
Function, crc32: Internal functions
Function, decode-png-colormap: Internal functions
Function, decode-png-descriptor: Internal functions
Function, decode-png-image: Internal functions
Function, draw-bezier-curve: Exported functions
Function, draw-circle: Exported functions
Function, draw-line: Exported functions
Function, draw-point: Exported functions
Function, draw-polygon: Exported functions
Function, draw-rectangle: Exported functions
Function, edge-detect: Exported functions
Function, emboss: Exported functions
Function, fill-pcx-scanline-buffer: Internal functions
Function, gray-alpha: Exported functions
Function, gray-intensity: Exported functions
Function, histogram->cdt: Internal functions
Function, images-same-dimensions-p: Internal functions
Function, images-same-type-p: Internal functions
Function, in-image-p: Internal functions
Function, in-region-p: Internal functions
Function, invert-color: Exported functions
Function, invert-gray: Exported functions
Function, limit-value: Internal functions
Function, make-color: Exported functions
Function, make-gray: Exported functions
Function, make-histogram: Internal functions
Function, make-png-descriptor: Internal functions
Function, make-simple-gray-colormap: Internal functions
Function, pcx-ega-palette->colormap: Internal functions
Function, png-descriptor-color-type: Internal functions
Function, png-descriptor-compression-method: Internal functions
Function, png-descriptor-depth: Internal functions
Function, png-descriptor-filter-method: Internal functions
Function, png-descriptor-height: Internal functions
Function, png-descriptor-interlace-method: Internal functions
Function, png-descriptor-p: Internal functions
Function, png-descriptor-width: Internal functions
Function, png-paeth: Internal functions
Function, png-samples-per-pixel: Internal functions
Function, read-ascii-rgb-pixel: Internal functions
Function, read-bin-rgb-pixel: Internal functions
Function, read-byte-array: Internal functions
Function, read-image: Exported functions
Function, read-integer-as-text: Internal functions
Function, read-jpg: Exported functions
Function, read-lsb-integer: Internal functions
Function, read-msb-integer: Internal functions
Function, read-number: Internal functions
Function, read-number2: Internal functions
Function, read-pcx: Exported functions
Function, read-pcx-data: Internal functions
Function, read-pcx-vga-palette: Internal functions
Function, read-png: Exported functions
Function, read-png-chunk: Internal functions
Function, read-png-sample: Internal functions
Function, read-png-signature: Internal functions
Function, read-pnm: Exported functions
Function, read-pnm-from-stream: Internal functions
Function, read-pnm-info: Internal functions
Function, read-tga: Exported functions
Function, read-tga-color: Internal functions
Function, read-tga-color-index: Internal functions
Function, read-tga-colormap: Internal functions
Function, read-tga-data: Internal functions
Function, register-image-io-function: Internal functions
Function, register-image-io-functions: Exported functions
Function, register-image-reader: Exported functions
Function, register-image-writer: Exported functions
Function, sharpen: Exported functions
Function, skip-bytes: Internal functions
Function, skip-line: Internal functions
Function, skip-whitespace-and-comments: Internal functions
Function, square: Internal functions
Function, update-crc32: Internal functions
Function, write-image: Exported functions
Function, write-integer-as-text: Internal functions
Function, write-jpg: Exported functions
Function, write-lsb-integer: Internal functions
Function, write-msb-integer: Internal functions
Function, write-pcx: Exported functions
Function, write-pcx-body: Internal functions
Function, write-png: Exported functions
Function, write-png-chunk: Internal functions
Function, write-png-data-chunk: Internal functions
Function, write-png-end-chunk: Internal functions
Function, write-png-header-chunk: Internal functions
Function, write-png-signature: Internal functions
Function, write-pnm: Exported functions
Function, write-tga: Exported functions
Function, write-tga-data: Internal functions

G
Generic Function, (setf image-pixel): Exported generic functions
Generic Function, compose: Exported generic functions
Generic Function, convert-to-grayscale: Exported generic functions
Generic Function, convert-to-indexed: Exported generic functions
Generic Function, convert-to-planar: Exported generic functions
Generic Function, convert-to-rgb: Exported generic functions
Generic Function, convolve: Exported generic functions
Generic Function, copy: Exported generic functions
Generic Function, crop: Exported generic functions
Generic Function, default-compose-operator: Internal generic functions
Generic Function, enhance-contrast: Exported generic functions
Generic Function, flip: Exported generic functions
Generic Function, image-colormap: Exported generic functions
Generic Function, image-height: Exported generic functions
Generic Function, image-pixel: Exported generic functions
Generic Function, image-pixels: Exported generic functions
Generic Function, image-plane-count: Exported generic functions
Generic Function, image-png-color-type: Internal generic functions
Generic Function, image-width: Exported generic functions
Generic Function, make-similar-image: Internal generic functions
Generic Function, pixel-size: Internal generic functions
Generic Function, read-jpg-pixel: Internal generic functions
Generic Function, resize: Exported generic functions
Generic Function, scale: Exported generic functions
Generic Function, set-alpha: Exported generic functions
Generic Function, unknown-format-pathname: Internal generic functions
Generic Function, write-jpg-pixel: Internal generic functions
Generic Function, write-png-colormap-chunk: Internal generic functions
Generic Function, write-png-pixel-bytes: Internal generic functions
Generic Function, write-pnm-to-stream: Internal generic functions
Generic Function, write-tga-to-stream: Internal generic functions
gray-alpha: Exported functions
gray-intensity: Exported functions

H
histogram->cdt: Internal functions

I
image-colormap: Exported generic functions
image-colormap: Exported generic functions
image-colormap: Exported generic functions
image-height: Exported generic functions
image-height: Exported generic functions
image-pixel: Exported generic functions
image-pixel: Exported generic functions
image-pixels: Exported generic functions
image-pixels: Exported generic functions
image-pixels: Exported generic functions
image-pixels: Exported generic functions
image-pixels: Exported generic functions
image-plane-count: Exported generic functions
image-plane-count: Exported generic functions
image-png-color-type: Internal generic functions
image-png-color-type: Internal generic functions
image-png-color-type: Internal generic functions
image-png-color-type: Internal generic functions
image-width: Exported generic functions
image-width: Exported generic functions
images-same-dimensions-p: Internal functions
images-same-type-p: Internal functions
in-image-p: Internal functions
in-region-p: Internal functions
invert-color: Exported functions
invert-gray: Exported functions

L
limit-value: Internal functions

M
Macro, do-image-pixels: Exported macros
Macro, do-image-pixels*: Internal macros
Macro, do-line-pixels: Exported macros
Macro, do-region-pixels: Exported macros
Macro, read-array-element: Internal macros
Macro, with-gensyms: Internal macros
Macro, with-image-definition: Exported macros
Macro, with-write-pnm-loop: Internal macros
make-color: Exported functions
make-gray: Exported functions
make-histogram: Internal functions
make-png-descriptor: Internal functions
make-similar-image: Internal generic functions
make-similar-image: Internal generic functions
make-simple-gray-colormap: Internal functions
Method, (setf image-pixel): Exported generic functions
Method, compose: Exported generic functions
Method, compose: Exported generic functions
Method, convert-to-grayscale: Exported generic functions
Method, convert-to-grayscale: Exported generic functions
Method, convert-to-grayscale: Exported generic functions
Method, convert-to-grayscale: Exported generic functions
Method, convert-to-indexed: Exported generic functions
Method, convert-to-indexed: Exported generic functions
Method, convert-to-indexed: Exported generic functions
Method, convert-to-planar: Exported generic functions
Method, convert-to-planar: Exported generic functions
Method, convert-to-rgb: Exported generic functions
Method, convert-to-rgb: Exported generic functions
Method, convert-to-rgb: Exported generic functions
Method, convert-to-rgb: Exported generic functions
Method, convolve: Exported generic functions
Method, convolve: Exported generic functions
Method, copy: Exported generic functions
Method, copy: Exported generic functions
Method, copy: Exported generic functions
Method, copy: Exported generic functions
Method, crop: Exported generic functions
Method, default-compose-operator: Internal generic functions
Method, enhance-contrast: Exported generic functions
Method, flip: Exported generic functions
Method, flip: Exported generic functions
Method, flip: Exported generic functions
Method, image-colormap: Exported generic functions
Method, image-colormap: Exported generic functions
Method, image-height: Exported generic functions
Method, image-pixel: Exported generic functions
Method, image-pixels: Exported generic functions
Method, image-pixels: Exported generic functions
Method, image-pixels: Exported generic functions
Method, image-pixels: Exported generic functions
Method, image-plane-count: Exported generic functions
Method, image-png-color-type: Internal generic functions
Method, image-png-color-type: Internal generic functions
Method, image-png-color-type: Internal generic functions
Method, image-width: Exported generic functions
Method, make-similar-image: Internal generic functions
Method, pixel-size: Internal generic functions
Method, pixel-size: Internal generic functions
Method, pixel-size: Internal generic functions
Method, pixel-size: Internal generic functions
Method, read-jpg-pixel: Internal generic functions
Method, read-jpg-pixel: Internal generic functions
Method, resize: Exported generic functions
Method, scale: Exported generic functions
Method, set-alpha: Exported generic functions
Method, set-alpha: Exported generic functions
Method, set-alpha: Exported generic functions
Method, unknown-format-pathname: Internal generic functions
Method, write-jpg-pixel: Internal generic functions
Method, write-jpg-pixel: Internal generic functions
Method, write-png-colormap-chunk: Internal generic functions
Method, write-png-colormap-chunk: Internal generic functions
Method, write-png-pixel-bytes: Internal generic functions
Method, write-png-pixel-bytes: Internal generic functions
Method, write-png-pixel-bytes: Internal generic functions
Method, write-pnm-to-stream: Internal generic functions
Method, write-pnm-to-stream: Internal generic functions
Method, write-pnm-to-stream: Internal generic functions
Method, write-pnm-to-stream: Internal generic functions
Method, write-pnm-to-stream: Internal generic functions
Method, write-pnm-to-stream: Internal generic functions
Method, write-tga-to-stream: Internal generic functions
Method, write-tga-to-stream: Internal generic functions

P
pcx-ega-palette->colormap: Internal functions
pixel-size: Internal generic functions
pixel-size: Internal generic functions
pixel-size: Internal generic functions
pixel-size: Internal generic functions
pixel-size: Internal generic functions
png-descriptor-color-type: Internal functions
png-descriptor-compression-method: Internal functions
png-descriptor-depth: Internal functions
png-descriptor-filter-method: Internal functions
png-descriptor-height: Internal functions
png-descriptor-interlace-method: Internal functions
png-descriptor-p: Internal functions
png-descriptor-width: Internal functions
png-paeth: Internal functions
png-samples-per-pixel: Internal functions

R
read-array-element: Internal macros
read-ascii-rgb-pixel: Internal functions
read-bin-rgb-pixel: Internal functions
read-byte-array: Internal functions
read-image: Exported functions
read-integer-as-text: Internal functions
read-jpg: Exported functions
read-jpg-pixel: Internal generic functions
read-jpg-pixel: Internal generic functions
read-jpg-pixel: Internal generic functions
read-lsb-integer: Internal functions
read-msb-integer: Internal functions
read-number: Internal functions
read-number2: Internal functions
read-pcx: Exported functions
read-pcx-data: Internal functions
read-pcx-vga-palette: Internal functions
read-png: Exported functions
read-png-chunk: Internal functions
read-png-sample: Internal functions
read-png-signature: Internal functions
read-pnm: Exported functions
read-pnm-from-stream: Internal functions
read-pnm-info: Internal functions
read-tga: Exported functions
read-tga-color: Internal functions
read-tga-color-index: Internal functions
read-tga-colormap: Internal functions
read-tga-data: Internal functions
register-image-io-function: Internal functions
register-image-io-functions: Exported functions
register-image-reader: Exported functions
register-image-writer: Exported functions
resize: Exported generic functions
resize: Exported generic functions

S
scale: Exported generic functions
scale: Exported generic functions
set-alpha: Exported generic functions
set-alpha: Exported generic functions
set-alpha: Exported generic functions
set-alpha: Exported generic functions
sharpen: Exported functions
skip-bytes: Internal functions
skip-line: Internal functions
skip-whitespace-and-comments: Internal functions
square: Internal functions

U
unknown-format-pathname: Internal generic functions
unknown-format-pathname: Internal generic functions
update-crc32: Internal functions

W
with-gensyms: Internal macros
with-image-definition: Exported macros
with-write-pnm-loop: Internal macros
write-image: Exported functions
write-integer-as-text: Internal functions
write-jpg: Exported functions
write-jpg-pixel: Internal generic functions
write-jpg-pixel: Internal generic functions
write-jpg-pixel: Internal generic functions
write-lsb-integer: Internal functions
write-msb-integer: Internal functions
write-pcx: Exported functions
write-pcx-body: Internal functions
write-png: Exported functions
write-png-chunk: Internal functions
write-png-colormap-chunk: Internal generic functions
write-png-colormap-chunk: Internal generic functions
write-png-colormap-chunk: Internal generic functions
write-png-data-chunk: Internal functions
write-png-end-chunk: Internal functions
write-png-header-chunk: Internal functions
write-png-pixel-bytes: Internal generic functions
write-png-pixel-bytes: Internal generic functions
write-png-pixel-bytes: Internal generic functions
write-png-pixel-bytes: Internal generic functions
write-png-signature: Internal functions
write-pnm: Exported functions
write-pnm-to-stream: Internal generic functions
write-pnm-to-stream: Internal generic functions
write-pnm-to-stream: Internal generic functions
write-pnm-to-stream: Internal generic functions
write-pnm-to-stream: Internal generic functions
write-pnm-to-stream: Internal generic functions
write-pnm-to-stream: Internal generic functions
write-tga: Exported functions
write-tga-data: Internal functions
write-tga-to-stream: Internal generic functions
write-tga-to-stream: Internal generic functions
write-tga-to-stream: Internal generic functions

Jump to:   (  
B   C   D   E   F   G   H   I   L   M   P   R   S   U   W  

Next: , Previous: , Up: Indexes   [Contents][Index]

A.3 Variables

Jump to:   *   +  
C   D   F   H   I   P   S   W  
Index Entry  Section

*
*image-file-readers*: Internal special variables
*image-file-writers*: Internal special variables

+
+black+: Exported special variables
+blue+: Exported special variables
+crc32-table+: Internal special variables
+cyan+: Exported special variables
+emboss-matrix-cell-angles+: Internal special variables
+green+: Exported special variables
+magenta+: Exported special variables
+png-idat-chunk-type+: Internal special variables
+png-iend-chunk-type+: Internal special variables
+png-ihdr-chunk-type+: Internal special variables
+png-plte-chunk-type+: Internal special variables
+png-signature+: Internal special variables
+pnm-image-makers+: Internal special variables
+pnm-pixel-readers+: Internal special variables
+red+: Exported special variables
+white+: Exported special variables
+yellow+: Exported special variables

C
color-type: Internal structures
colormap: Exported classes
colormap: Exported classes
compression-method: Internal structures

D
depth: Internal structures

F
filter-method: Internal structures

H
height: Internal structures

I
interlace-method: Internal structures

P
pathname: Exported conditions
pixels: Exported classes
pixels: Exported classes
pixels: Exported classes
pixels: Exported classes
plane-count: Exported classes

S
Slot, color-type: Internal structures
Slot, colormap: Exported classes
Slot, colormap: Exported classes
Slot, compression-method: Internal structures
Slot, depth: Internal structures
Slot, filter-method: Internal structures
Slot, height: Internal structures
Slot, interlace-method: Internal structures
Slot, pathname: Exported conditions
Slot, pixels: Exported classes
Slot, pixels: Exported classes
Slot, pixels: Exported classes
Slot, pixels: Exported classes
Slot, plane-count: Exported classes
Slot, width: Internal structures
Special Variable, *image-file-readers*: Internal special variables
Special Variable, *image-file-writers*: Internal special variables
Special Variable, +black+: Exported special variables
Special Variable, +blue+: Exported special variables
Special Variable, +crc32-table+: Internal special variables
Special Variable, +cyan+: Exported special variables
Special Variable, +emboss-matrix-cell-angles+: Internal special variables
Special Variable, +green+: Exported special variables
Special Variable, +magenta+: Exported special variables
Special Variable, +png-idat-chunk-type+: Internal special variables
Special Variable, +png-iend-chunk-type+: Internal special variables
Special Variable, +png-ihdr-chunk-type+: Internal special variables
Special Variable, +png-plte-chunk-type+: Internal special variables
Special Variable, +png-signature+: Internal special variables
Special Variable, +pnm-image-makers+: Internal special variables
Special Variable, +pnm-pixel-readers+: Internal special variables
Special Variable, +red+: Exported special variables
Special Variable, +white+: Exported special variables
Special Variable, +yellow+: Exported special variables

W
width: Internal structures

Jump to:   *   +  
C   D   F   H   I   P   S   W  

Previous: , Up: Indexes   [Contents][Index]

A.4 Data types

Jump to:   C   D   G   H   I   N   O   P   R   S   T   U  
Index Entry  Section

C
Class, grayscale-image: Exported classes
Class, image: Exported classes
Class, indexed-image: Exported classes
Class, planar-image: Exported classes
Class, rgb-image: Exported classes
Condition, decode-error: Exported conditions
Condition, imago-condition: Exported conditions
Condition, imago-error: Exported conditions
Condition, not-implemented: Exported conditions
Condition, operation-error: Exported conditions
Condition, unknown-format: Exported conditions

D
decode-error: Exported conditions

G
grayscale-image: Exported classes
grayscale-pixel: Exported types

H
histogram: Internal types

I
image: Exported classes
imago: The imago system
imago: The imago package
imago-condition: Exported conditions
imago-error: Exported conditions
indexed-image: Exported classes
indexed-pixel: Exported types

N
non-negative-fixnum: Internal types
not-implemented: Exported conditions

O
operation-error: Exported conditions

P
Package, imago: The imago package
planar-image: Exported classes
planar-pixel: Exported types
png-descriptor: Internal structures
positive-fixnum: Internal types

R
rgb-image: Exported classes
rgb-pixel: Exported types

S
Structure, png-descriptor: Internal structures
System, imago: The imago system

T
Type, grayscale-pixel: Exported types
Type, histogram: Internal types
Type, indexed-pixel: Exported types
Type, non-negative-fixnum: Internal types
Type, planar-pixel: Exported types
Type, positive-fixnum: Internal types
Type, rgb-pixel: Exported types

U
unknown-format: Exported conditions

Jump to:   C   D   G   H   I   N   O   P   R   S   T   U