I'm trying to deconstruct this line from the examples so I can convert it to Perlmagick:
convert thumbnail.gif -alpha set -virtual-pixel transparent -channel A -blur 0x8 -level 50%,100% +channel soft_edge.png
Can someone tell me the sequence of events? I have these Perlmagick commands:
$image->Set(alpha=>'Set');
$image->Set(virtual-pixel=>'Transparent');
$image->Blur(radius=>'0x8');
$image->Level(levels=>'50%,100%');
Deconstructing "Soft Edges"
Re: Deconstructing "Soft Edges"
This should work but it just doesn't:
$image->Set(alpha=>'Set');
$image->Set('virtual-pixel'=>'Transparent');
$image->Blur(geometry=>'0x8',channel=>'A');
$image->Level(levels=>'50%,100%',channel=>'A');
I'm trying to replicate this:
convert thumbnail.gif -alpha set -virtual-pixel transparent -channel A -blur 0x8 -level 50%,100% +channel soft_edge.png
Anybody? Does Perlmagick lack this functionality?
$image->Set(alpha=>'Set');
$image->Set('virtual-pixel'=>'Transparent');
$image->Blur(geometry=>'0x8',channel=>'A');
$image->Level(levels=>'50%,100%',channel=>'A');
I'm trying to replicate this:
convert thumbnail.gif -alpha set -virtual-pixel transparent -channel A -blur 0x8 -level 50%,100% +channel soft_edge.png
Anybody? Does Perlmagick lack this functionality?
- anthony
- Posts: 8883
- Joined: 2004-05-31T19:27:03-07:00
- Authentication code: 8675308
- Location: Brisbane, Australia
Re: Deconstructing "Soft Edges"
It should work. What are you saving the image as?
Anthony Thyssen -- Webmaster for ImageMagick Example Pages
https://imagemagick.org/Usage/
https://imagemagick.org/Usage/