> I think the correct behaviour is for no header to be assumed if the > ".gray" suffix is present That is the default behavior for an explicit image format. Use convert -depth 8 -size 1280x960 gray:out_image.gray out_image.png