Re: 6.5.2.9 -> 6.5.7.0 breaks my app

Grant <[email protected]>
Newsgroups gmane.comp.video.image-magick.user
Message-ID <[email protected]>
>> and it broke my perlmagick app which resizes images.
>
> We can't help unless you explain how your app if broken.  We need to
> reproduce the problem before we can help resolve the differences.

I'm using imagemagick within the perl framework "Interchange"
(icdevgroup.org).  Nothing is written to the interchange error logs so
it's difficult to tell what went wrong.  Downgrading back to 6.5.2.9
from 6.5.7.0 fixes the problem.  Here is my script.  Should this still
work in 6.5.7.0?

my $full = Image::Magick->new;
open(IMAGE, '<images/'.$sku.'_unprocessed.jpg');
$full->Read(file=>\*IMAGE);
close(IMAGE);
$full->Resize(geometry=>''.$full_width.'x'.$full_height.'');
if ($border == 1) {
   $full->Border(geometry=>'1x1' , bordercolor=>'#000000' , compose=>'Add');
}
$full->Write(filename=>'/path/to/file/'.$sku.'_full.jpg');
chmod(0644,"/path/to/file/".$sku."_full.jpg");

- Grant
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.