X-Git-Url: https://git.sesse.net/?p=pr0n;a=blobdiff_plain;f=perl%2FSesse%2Fpr0n%2FCommon.pm;fp=perl%2FSesse%2Fpr0n%2FCommon.pm;h=c1eadfefc93d80e3566553402b91b1cd49e4417a;hp=72be2184d99a84bcc9245939a791ffa488cc6b9e;hb=cbbb349dabacc46a7dfb1cd03025c710ca473179;hpb=3302d279442feb859579d6be6b8feb9adee34418 diff --git a/perl/Sesse/pr0n/Common.pm b/perl/Sesse/pr0n/Common.pm index 72be218..c1eadfe 100644 --- a/perl/Sesse/pr0n/Common.pm +++ b/perl/Sesse/pr0n/Common.pm @@ -616,7 +616,7 @@ sub ensure_cached { my $sf = "1x1"; if ($xres != -1) { - $cimg->Resize(width=>$nwidth, height=>$nheight, filter=>$filter, 'sampling-factor'=>$sf); + $cimg->Resize(width=>$nwidth, height=>$nheight, filter=>$filter); } # Strip EXIF tags etc.