@manipulative
    def transform_colorspace(self, colorspace_type):
        if not isinstance(colorspace_type, string_type) \
                or colorspace_type not in COLORSPACE_TYPES:
            raise TypeError('Colorspace value must be a string from '
                            'COLORSPACE_TYPES, not ' + repr(colorspace_type))
        r = library.MagickTransformImageColorspace(
            self.wand,
            COLORSPACE_TYPES.index(colorspace_type)
        )
        if not r:
            self.raise_exception()
Transform image's colorspace.
dataset/ETHPy150Open dahlia/wand/wand/image.py/BaseImage.transform_colorspace