Hi, All.

I'm using Magick++ API.
The task is to convert color to transparent on PNG image.
Code:
Magick::Image imtmp;
imtmp.read( "/tmp/somefile.png" );
imtmp.colorFuzz( 10000.0 );
imtmp.transparent( "#040204" ); // imtmp.transparent( "#5402b4" );

Problem:
it does convert all colors to transparent except the black(#040204) color.
When I pass "#040204" to transparent(), black color on the image transforms
to white, not to transparent.
Other colors work fine.

Any ideas?
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to