Hi Dermot,
I have a perl function which converts an image to sepia-tone as follows...
sub sepia
{
my ($image, $color) = @_; # original image object and color
my $overlay = $image->Clone; # clone the image to create the top colored layer
$overlay->Colorize(fill => $color, opacity=>"100%"); # color the top layer
$image->Quantize(colorspace => "Gray"); # make the bottom layer grayscale
$image->Composite(image=>$overlay, compose=>"Overlay"); # overlay the top
layer
return $image;
}
All I know is it works with 6.2.3 and later. With 6.0.7 I get an all-black
image.
I'm assuming there is a bug in the Composite() method which has been fixed in
later versions. Can anyone tell me if the "Overlay" compose type is supported
in 6.0.7 ?
Dermot Paikkos <[EMAIL PROTECTED]> wrote: Generally speaking all rpm packages
are a bit behind the source as
someone has to take the time to create the rpm ...etc.
If you want the very latest you will need to install from source.
I am not expert in compositing but perhaps you should outline what
the problem is. Are you sure there was a bug with v6.0.7 that was
fixed in 6.2+?
Dp.
On 9 May 2006 at 23:47, Walter Higgins wrote:
> Hi,
>
> Thanks for the help with my last question.
> I installed imagemagick (with JPEG and perl support) on the RedHat box
> with the following command... up2date ImageMagick ImageMagick-perl
>
> problem is : the version it installs is 6.0.7 and I'm seeing some
> problems with compositing stuff using Perl ...soooo... Does anyone
> know how I can use the up2date command to ... you know ... get an
> up-to-date version of ImageMagick on RedHat ? I tried up2date
> ImageMagick-devel - that just gets a development version fo 6.0.7.
>
> Walter
>
>
> ---------------------------------
> Yahoo! Mail goes everywhere you do. Get it on your phone.
> _______________________________________________
> Magick-users mailing list
> [email protected]
> http://studio.imagemagick.org/mailman/listinfo/magick-users
>
---------------------------------
Love cheap thrills? Enjoy PC-to-Phone calls to 30+ countries for just 2ยข/min
with Yahoo! Messenger with Voice.
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users