试图这样做
import PythonMagick
img = PythonMagick.Image('file.png')
img.colorSpace('GRAYColorspace')
退货
ArgumentError: Python argument types in
Image.colorSpace(Image, str)
did not match C++ signature:
colorSpace(class Magick::Image {lvalue})
colorSpace(class Magick::Image {lvalue}, enum MagickCore::ColorspaceType)
怎么做?