From e2919ff2d480e4b2756573ae31ceaec675490bef Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Fri, 2 Dec 2022 23:50:33 -0800 Subject: [PATCH] exif: store w/h for high-res images --- lib/Exif.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/Exif.php b/lib/Exif.php index 32fb011e..5aadd0e3 100644 --- a/lib/Exif.php +++ b/lib/Exif.php @@ -220,7 +220,7 @@ class Exif return [$height, $width]; } - if ($width <= 0 || $height <= 0 || $width > 10000 || $height > 10000) { + if ($width <= 0 || $height <= 0 || $width > 100000 || $height > 100000) { return [0, 0]; }