From f08ad8e853ebd022aa1bafc5c18b89ed5da43983 Mon Sep 17 00:00:00 2001 From: Vincent Vanwaelscappel Date: Mon, 5 Jun 2023 17:08:05 +0200 Subject: [PATCH] wip #5991 --- src/Jobs/ProcessFile.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Jobs/ProcessFile.php b/src/Jobs/ProcessFile.php index a122f99..b636b0d 100644 --- a/src/Jobs/ProcessFile.php +++ b/src/Jobs/ProcessFile.php @@ -171,7 +171,7 @@ class ProcessFile { $q = ($this->getFormat() === 'jpg' && $this->getQuality() !== 85) ? '-' . $this->getQuality() : ''; $prefix = $this->isWithTexts() ? 't' : 'h'; if ($this->getResolution() === 'thumb') { - $res = $dir . 'p' . $this->getPage() . '.' . $this->getFormat(); + $res = $dir . 'p' . $this->getPage() . $q . '.' . $this->getFormat(); } else { $res = $dir . $prefix . $this->getPage() . '-' . $this->getResolution() . $q . '.' . $this->getFormat(); } -- 2.39.5