>> 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
_______________________________________________
Magick-users mailing list
[email protected]
http://studio.imagemagick.org/mailman/listinfo/magick-users