[magick-users] Splice method and transparency
Günter Bachelier
guba at VI-ANEC.de
Sun Oct 15 04:39:49 CDT 2006
Hello,
the PerlMagick line
$p3m1_tile_part->Splice(geometry=>'751x0+1501+0');
extends the image on the right side with 751 pixel and
preserve the image height. I want that the color of the new
region is transparent, but it seems that the splice method
accepts no attributes like color=>'transparent' or
background=>'transparent'. I get a white (255,255,255)
region. Is it possible to get direct a transparent region
or if not, how can I replace all pixels in the region with
the geometry=>'751x1300+1501+0' with transparency?
And a black background is generated by
$p3m1_tile_part->Extent(geometry=>'2252x1300+1501+0');
also no improvement.
Thank you very much,
Günter
More information about the Magick-users
mailing list