Using MagickWand API I want to set the background color to white for a grayscale image.
I have an example for doing this in rgb as follows but I'm not sure how to specify "white for a grayscale image in the following example:
pwo = NewPixelWand();
PixelSetColor(pwo,"rgb(60%,60%,60%)");
MagickSetImageBackgroundColor(mwf,pw0);
Thanks,
Harry Spier
How to set background color for grayscale image
-
- Posts: 6
- Joined: 2012-06-17T17:10:46-07:00
- Authentication code: 13