After looking extensively I have found no working example of getting 
PerlMagick to work with PerlMagick.  Thus my post here.

ImageMagick Version: ImageMagick 6.2.8 06/17/06 Q16 http://www.imagemagick.org
C

PerlMagick Version: $VERSION = '6.2.4';

Code with which I am working:

#!/usr/bin/perl

use warnings;
use strict;
use Image::Magick;

my $source = "Pic1.jpg";
my $destination = "Pic2.jpg";
my $workDir = "./tmp";
my $outFile = "$workDir/Pic50.jpg";

my $file1 = Image::Magick->new();
$file1->ReadImage($source);

my $file2 = Image::Magick->new();
$file2->ReadImage($destination);

$file1->Composite(compose=>'Dissolve',
                    opacity=>50,
                    gravity=>'Center',
                    image=>$file2);

$file1->Write($outFile);

exit;

All I get is the source pic.  Per the postings I have read I believe I am on 
a good version of IM/PM.

Does anyone have a working example of using dissolve with PM?

Thank you for your help.

-Ken

--
Lasting Links http://LastingLinks.Com

_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users

Reply via email to