[ImageMagick] [sponsor]

TransformImageColorspace

TransformImageColorspace() sets the colorspace member of the Image structure.

The format of the TransformImageColorspace method is:

  MagickBooleanType TransformImageColorspace(Image *image,
    const ColorspaceType colorspace)

A description of each parameter follows:

image

    the image.

colorspace

    the colorspace.