in reply to converting Jpeg to grayscale
If you are willing to use other modules instead of GD you could also use Imager. It is easier to install than Image::Magick, and it is capable to do many image manipulation stuff as well.
It also has gif support, if you need that. It will ask if gif support should be enabled during the installation.
For setting the hue and saturation of the image do this:
It also has gif support, if you need that. It will ask if gif support should be enabled during the installation.
For setting the hue and saturation of the image do this:
my $color = Imager::Color->new(hue=>120, value=>1, saturation=>0.5);
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: converting Jpeg to grayscale
by Anonymous Monk on Jul 22, 2003 at 14:30 UTC |
In Section
Seekers of Perl Wisdom