-
Notifications
You must be signed in to change notification settings - Fork 20
Open
Description
Got a PNG file of 7016 × 7501 size which would cause an OOM on Windows, but not eg. on Mac.
https://dl.dropboxusercontent.com/u/54507676/gorillaz.png
The following script would still print the size, despite the error, but it wouldn't scale it:
#!/usr/bin/perl
use strict;
use Image::Scale;
my $img = Image::Scale->new('gorillaz.png');
print $img->width . 'x' . $img->height . "\n";
$img->resize( {
width => 300,
height => 300,
keep_aspect => 1,
} );
$img->save_png('resized.png');
1;Tested with 0.08 only, both platforms.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels