Converting colorspace in Imagemagick is not working
问题 I am trying to convert an sRGB bitmap file to greyscale using ImageMagick. I've tried using convert -set colorspace Gray and convert colorspace Gray , which according to the documentation should do it. However, when I try to check the output file using identify -format "%[colorspace]" <outputfile> it still tells me that it is in sRGB. I am aware that not all file formats support all colourspaces, and tried converting the bitmap to a png first, then changing the colorspace and converting it