All Manuals > CAPI Reference Manual > 2 GP Reference Entries

NextPrevUpTopContentsIndex

make-sub-image

Function
Summary

Makes a new image from part of an image.

Package

graphics-ports

Signature

make-sub-image port image &optional x y width height
=> sub-image

Arguments

port

A graphics port.

image

An image.

x

An integer.

y

An integer.

width

An integer.

height

An integer.

Values

sub-image

An image.

Description

The function make-sub-image makes a new image object from the rectangular region of the supplied image specified by x , y , width and height .

The default values of x and y are 0.

The default value of width is the width of image .

The default value of height is the height of image .

See also

image


CAPI Reference Manual - 15 Dec 2011

NextPrevUpTopContentsIndex