>decorate - ImageMagick Image Decoration Methods9/


NAME



/decorate - ImageMagick Image Decoration Methods




(

SYNOPSIS



jImage * BorderImage( const Image *image, const RectangleInfo *border_info );

^Image * FrameImage( Image *image, const FrameInfo *frame_info );

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




B

FUNCTION DESCRIPTIONS






.

BorderImage



BMethod BorderImage takes an image and puts a border around it of aEparticular color. It allocates the memory necessary for the new Image1structure and returns a pointer to the new image.

(The format of the BorderImage method is:Ë

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


=A description of each parameter follows:

@

bordered_image:


<Method BorderImage returns a pointer to the bordered image. BA null image is returned if there is a memory shortage."

image:


)The address of a structure of type Image.(

border_info:


FSpecifies a pointer to a structure of type Rectangle which defines theborder region.






,

FrameImage



KMethod FrameImage takes an image and puts a frame around it of a particularHcolor. 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 );


=A description of each parameter follows:

(

frame_image:


9Method FrameImage returns a pointer to the framed image. BA null image is returned if there is a memory shortage."

image:


)The address of a structure of type Image.'

frame_info:


ESpecifies a pointer to a FrameInfo structure which defines the framedregion.






,

RaiseImage



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

'The format of the RaiseImage method is:´

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


=A description of each parameter follows:

"

image:


)The address of a structure of type Image.'

raise_info:


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

raised:


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