I would like to use MagickWand to read in a JPG image, which does not have an opacity layer, and then set it so that it does have a given opacity (which should implicitly force the image's matte value to MagicTrue) so that I can use it in subsequent operations requiring that it have a matte/opacity layer and/or write it out as a PNG. So far, I haven't been able to find a MagicWand function or combination of functions which will do this.
ImageMagick has the SetImageOpacity function which does exactly what I want but this function does not have a corresponding function in the MagicWand API. Can this, or an equivalent function be added to MagickWand?
Thanks
Pete
Setting image/wand opacity
-
- Posts: 1015
- Joined: 2005-03-21T21:16:57-07:00