I want to convert a tif grayscale image to png grayscale image with ImageMagick 'convert' utility (ImageMagick 6.9.7-4). The input file Extravert.tif has the following characteristics:
identify Extravert.tif
Extravert.tif TIFF 1113x1450 1113x1450+0+0 32-bit Grayscale Gray 6.468MB 0.010u 0:00.009
I tried using convert -grayscale option as follows:
convert Extravert.tif -grayscale Brightness Extravert.png
But the resulting output image is not grayscale:
identify Extravert.png
Extravert.png PNG 1113x1450 1113x1450+0+0 8-bit sRGB 2c 601B 0.000u 0:00.000
I also tried solutions suggested in this post, but still the output png is sRGB not grayscale.
How can I preserve the grayscale when converting from tif to png?
Extravert.tif (input), Extravert.png (output)
Thanks Tom