I built a Perl script that draws a banner using Image :: Magick .
# ... some code my $icon = Image::Magick->new(); $icon->Set(size => '16x16'); $icon->Transparent(color=>'#010101'); $icon->ReadImage($imagepath); $full_image->Composite(
Usually the background of the icon ( #010101 ) should be transparent, but it failed ... any idea why this is not working? Or is it possible that I could use the Transparent Method instead?
Edit: Both images are PNG files. Image::Magick version - 6.7.
user1558455
source share