decorate - ImageMagick Image Decoration Methods
bordered_image=BorderImage(image,border_info)
framed_image=FrameImage(image,frame_info)
RaiseImage(image,raise_info,raised)
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 routine is:
bordered_image=BorderImage(image,border_info)
A description of each parameter follows:
Method BorderImage returns a pointer to the bordered image. A null image is returned if there is a memory shortage.
The address of a structure of type Image.
Specifies a pointer to a structure of type Rectangle which defines the border region.
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 routine is:
framed_image=FrameImage(image,frame_info)
A description of each parameter follows:
Method FrameImage returns a pointer to the framed image. A null image is returned if there is a memory shortage.
The address of a structure of type Image.
Specifies a pointer to a FrameInfo structure which defines the framed region.
Method RaiseImage lightens and darkens the edges of an image to give a 3-D raised or lower effect.
The format of the RaiseImage routine is:
RaiseImage(image,raise_info,raised)
A description of each parameter follows:
The address of a structure of type Image.
Specifies a pointer to a XRectangle which defines the raised region.
A value other than zero causes the image to have a 3-D raised effect, otherwise it has a lowered effect.