Page 1 of 1

Writing grayscale image in single channel IM7

Posted: 2019-01-09T04:20:45-07:00
by rohitlal
Can anyone please guide me, how do I write a grayscale image in single channel in IM 7+ version.

I've tried

Code: Select all

 
 	image.type(GrayscaleType);
 	image.colorSpace(GRAYColorSpace);
 
But, couldn't get final image as single channel image.