[magick-users] Reducing output range
Gabe Schaffer
magick at gabe.com
Fri Jan 19 11:38:31 CST 2007
On 1/19/07, Illtud Daniel <illtud.daniel at llgc.org.uk> wrote:
> However, If I do:
>
> $image->Fx(expression=>'r/8');
>
> In my perl, it makes no change to the image at all. Where am I going
> wrong?
The Fx operator does not change the image; it returns a new one. This
will do what you want:
$newimage = $image->Fx(expression=>'r/8');
Note that the Evaluate operator is going to be much faster, so don't
worry about Fx.
GNS
More information about the Magick-users
mailing list