Writing grayscale image in single channel IM7
Posted: 2019-01-09T04:20:45-07:00
Can anyone please guide me, how do I write a grayscale image in single channel in IM 7+ version.
I've tried
But, couldn't get final image as single channel image.
I've tried
Code: Select all
image.type(GrayscaleType);
image.colorSpace(GRAYColorSpace);