[magick-users] Problems with PerlMagick "Level"
Anthony Thyssen
anthony at griffith.edu.au
Sun Nov 11 19:27:50 PST 2007
Kiana Toufighi on wrote...
|
| Hi,
|
|
|
| I saw somebody else post the same problem to this list but there was no=20
| satisfactory reply.
|
|
|
| I'm trying to change the contrast of an image is Perl using PerlMagick.=20
| Here's my code:
|
| $image->Level('black-point'=3D>'10%', 'gamma'=3D>'1.0','white-point'=3D>'90=
| %',=20
| channel=3D>'All');
|
|
|
| Result is that I get an entirely white frame.
|
|
|
|
|
| I have also tried:
|
| $image->Level(level=3D>'10%');
|
|
|
| I get an entirely black frame.
|
|
You have a old buggy version of IM.
This was discovered and fixed a couple of months ago.
Anthony Thyssen ( System Programmer ) <A.Thyssen at griffith.edu.au>
-----------------------------------------------------------------------------
If all else fails, do the exact opposite of what you thought would work.
-- Dr Whirlwinds 10th law
-----------------------------------------------------------------------------
Anthony's Home is his Castle http://www.cit.gu.edu.au/~anthony/
More information about the Magick-users
mailing list