All Manuals > CAPI User Guide and Reference Manual > 22 GRAPHICS-PORTS Reference Entries

read-and-convert-external-image Function

Summary

Returns an image converted from an external image read from a file.

Package

graphics-ports

Signature

read-and-convert-external-image gp file &key transparent-color-index => image, external-image

Arguments
gp
A CAPI pane.
file
A pathname designator.
transparent-color-index
An integer or nil.
Values
image
An image.
external-image
Description

The function read-and-convert-external-image returns an image converted for use with gp from an external image read from file. The external image is returned as a second value.

transparent-color-index is interpreted as described for read-external-image.

See also

convert-external-image
external-image
read-external-image
13 Drawing - Graphics Ports


CAPI User Guide and Reference Manual (Macintosh version) - 01 Dec 2021 19:31:44