[ImageMagick] [sponsor]

SetImageColorspace

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

The format of the SetImageColorspace method is:

  MagickBooleanType SetImageColorspace(Image *image,
    const ColorspaceType colorspace)

A description of each parameter follows:

image

    The image.

colorspace

    The colorspace.