]> git.sesse.net Git - pr0n/commitdiff
Remove unused parameter.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 5 Jun 2021 20:53:02 +0000 (22:53 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Sat, 5 Jun 2021 20:53:02 +0000 (22:53 +0200)
perl/Sesse/pr0n/Common.pm

index 72be2184d99a84bcc9245939a791ffa488cc6b9e..c1eadfefc93d80e3566553402b91b1cd49e4417a 100644 (file)
@@ -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.