>decorate - ImageMagick Image Decoration Methods9W




"NAME

6

decorate - ImageMagick Image Decoration Methods



2page index




&SYNOPSIS

~

Image * BorderImage( const Image *image, const RectangleInfo *border_info, ExceptionInfo *exception );

r

Image * FrameImage( Image *image, const FrameInfo *frame_info, ExceptionInfo *exception );

t

unsigned int RaiseImage( Image *image, const RectangleInfo *raise_info, const int raised );



2page index


$

FUNCTION *DESCRIPTIONS



.

BorderImage

Â

Method BorderImage takes an image and puts a border around it of a particular color. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.

/

The format of the BorderImage method is:


Image *BorderImage ( const Image *image, const RectangleInfo *border_info, ExceptionInfo *exception );

AA description of each parameter follows:


N

border_image:

;Method BorderImage returns a pointer to the border image. LA null image is returned if there is a memory shortage.

@

image:

)The address of a structure of type Image.

L

border_info:

USpecifies a pointer to a structure of type Rectangle which defines the border region.

H

exception:

0return any errors or warnings in this structure.



,

FrameImage

À

Method FrameImage takes an image and puts a frame around it of a particular color. It allocates the memory necessary for the new Image structure and returns a pointer to the new image.

.

The format of the FrameImage method is:

ÿ
Image *FrameImage ( Image *image, const FrameInfo *frame_info, ExceptionInfo *exception );

AA description of each parameter follows:


L

frame_image:

:Method FrameImage returns a pointer to the framed image. LA null image is returned if there is a memory shortage.

"

image:

)The address of a structure of type Image.

J

frame_info:

MSpecifies a pointer to a FrameInfo structure which defines the framed region.

&

exception:

0return any errors or warnings in this structure.



,

RaiseImage

J

Method RaiseImage lightens and darkens the edges of an image to give a 43-D raised or lower effect.

.

The format of the RaiseImage method is:

¿
unsigned int RaiseImage ( Image *image, const RectangleInfo *raise_info, const int raised );

AA description of each parameter follows:


"

image:

)The address of a structure of type Image.

J

raise_info:

DSpecifies a pointer to a XRectangle which defines the raised region.

B

raised:

HA value other than zero causes the image to have a J3-D raised effect, otherwise it has a lowered effect.
9

page index