Im trying to convert a jpg file to grey scale 8-bit bmp (another program requires this specification). However, no matter what I do, colorspace remains sRGB. I tried to convert the jpg to grey scale jpg and then to bmp but that didnt help. Separating out one color (e.g. -channel B -separate) did not change the result. I also tried different bmp formats as suggested here. viewtopic.php?f=3&t=21621
# For example
Code: Select all
convert in.jpg -type GrayScale -colorspace GRAY -depth 8 out.bmp
identify -format "%[colorspace] <== %f\n" out.bmp
sRGB <== out.bmp
Similar issue described here
viewtopic.php?f=1&t=25460
Im I right that the IM coder cannot save bmp with a single grey channel? Hence IM will always save bmp as sRGB. A thread indicates that this is the case:
http://www.wizards-toolkit.org/discours ... =3&t=10524
Ubuntu 14.04
ImageMagick 6.7.7-10