Hello, A "hack" which seems to point to a problem in perlmagick:
Apply the enclosed "patch" to webmagick which duplicates the two "Write" calls that write out the montage. The program then appears to work properly. Regards, Kapil. --
--- /usr/bin/webmagick 2005-12-07 10:04:09.000000000 +0530 +++ /tmp/webmagick 2006-03-26 07:06:03.000000000 +0530 @@ -3239,6 +3239,11 @@ filename=>"GIF:$fileNames{'montageGIF'}", interlace=>'Line' ); + $status = $image->Write( + dither=>'True', + filename=>"GIF:$fileNames{'montageGIF'}", + interlace=>'Line' + ); handleMagickError( __FILE__, __LINE__, $fileNames{'montageGIF'}, $status) if "$status"; last MONTAGE if "$status"; undef @$image; @@ -3257,6 +3262,11 @@ interlace=>'Plane', quality=>$opt_jpegquality ); + $status = $montage->Write( + filename=>"JPEG:$fileNames{'montageJPEG'}", + interlace=>'Plane', + quality=>$opt_jpegquality + ); handleMagickError( __FILE__, __LINE__, $fileNames{'montageJPEG'}, $status) if "$status"; last MONTAGE if "$status"; } else {
signature.asc
Description: Digital signature