I\'m invoking the following command to convert an input jpeg that I know is sRGB 3-channel into a single-channel gray image as follows:
convert my-sRGB.jpg -gra