Search found 3 matches

by glow
2012-07-08T04:58:39-07:00
Forum: Magick++
Topic: adding alpha channel
Replies: 3
Views: 13201

Re: adding alpha channel

when i set opacity like this to fully transparent it seems to work. i get a completely transparent png:

Code: Select all

cloneBaseImage.opacity(TransparentOpacity);
but when i use it with an integer value i get a fully opaque image:

Code: Select all

cloneBaseImage.opacity(50);
by glow
2012-07-08T04:32:14-07:00
Forum: Magick++
Topic: adding alpha channel
Replies: 3
Views: 13201

Re: adding alpha channel

i cant find anything which set an alpha channel in magick++. the only thing which comes near is image.matte("TRUE"). description from the docu is: True if the image has transparency. If set True, store matte channel if the image has one otherwise create an opaque one. but this has no effec...
by glow
2012-07-07T17:06:46-07:00
Forum: Magick++
Topic: adding alpha channel
Replies: 3
Views: 13201

adding alpha channel

Hey Guys, i started working with magick++ and i have a problem. I open a png file and like to make it transparent. but everything i tried is not working: Image baseImage; //create base image baseImage.read("./img/desert.png"); //read file //stuff i tried baseImage.magick( "RGBA" ...