Prev
MagickWand For PHP
Manual


Next

MagickSetImageColorspace

MagickSetImageColorspace -- sets the image colorspace of the current active image

Description

bool MagickSetImageColorspace( MagickWand mgck_wnd, int colorspace_type )

Sets the image colorspace of the current active image. Returns TRUE on success, FALSE, if an error occurred. colorspace_type must be a ColorspaceType constant, one of the following: MW_RGBColorspace MW_GRAYColorspace MW_TransparentColorspace MW_OHTAColorspace MW_LABColorspace MW_XYZColorspace MW_YCbCrColorspace MW_YCCColorspace MW_YIQColorspace MW_YPbPrColorspace MW_YUVColorspace MW_CMYKColorspace MW_sRGBColorspace MW_HSBColorspace MW_HSLColorspace MW_HWBColorspace


A description of each parameter follows:

mgck_wnd A MagickWand resource
colorspace_type A ColorspaceType constant


Prev
MagickSetImageColormapColor
Up Next
MagickSetImageCompose