Discovered the solution here: -
http://stackoverflow.com/questions/14562440/why-does-perls-imagemagick-create-an-outline-around-a-semi-transparent-image
$watermark->Evaluate(
operator => 'Multiply',
value => 0.6,
channel => 'Alpha',
);
$background->Composite(
image => $watermark,
gravity ...
Search found 2 matches
- 2014-06-27T05:52:47-07:00
- Forum: PerlMagick
- Topic: White Edges on Watermarks
- Replies: 1
- Views: 10448
- 2014-06-27T03:49:10-07:00
- Forum: PerlMagick
- Topic: White Edges on Watermarks
- Replies: 1
- Views: 10448
White Edges on Watermarks
Hi all, I am using PerlMagick and ImageMagick 6.7 to add a watermark to images. From the commandline on the same server using the following command the image is watermarked correctly without any white edges.
composite -gravity southwest -dissolve 50 /esp/data/watermark.png preview.jpg test.jpg ...
composite -gravity southwest -dissolve 50 /esp/data/watermark.png preview.jpg test.jpg ...