Prev
MagickWand For PHP
Manual


Next

MagickNewImage

MagickNewImage -- adds a blank image canvas of the specified size and background color to a MagickWand's image list

Description

bool MagickNewImage( MagickWand mgck_wnd, float width, float height [, string imagemagick_col_str] )

Adds a blank image canvas of the specified size and background color to a MagickWand's image list.


A description of each parameter follows:

mgck_wnd A MagickWand resource
width The desired image width.
height The desired image height.
imagemagick_col_str (OPTIONAL) An ImageMagick color string, specifying the desired image's color.
If not specified, or set to NULL or an empty string (""), the resulting image will be all black.


Prev
MagickNegateImage
Up Next
MagickNextImage