PythonMagick: Convert RGB to Grayscale
I found this description link_1, link_2.
Trying to do so
import PythonMagick
img = PythonMagick.Image('file.png')
img.colorSpace('GRAYColorspace')
Return this
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)
How to do it?
ReplyDeleteAmazing experience on reading your article. It is really nice and informative.
Python Training in Chennai
Python Training Institute in Chennai
JAVA Training in Chennai
Hadoop Training in Chennai
Selenium Training in Chennai
Python Training in Chennai
Python Training in Tambaram
KBC is india's Most awaiting TV Show to give you chance to win bumper cash prizes in KBC Show, Register in KBC and Win extra cash to change your fate. Its all about KBC. check KBC Winner List 2020
ReplyDelete