From: Vincent Vanwaelscappel Date: Mon, 5 Jun 2023 15:08:05 +0000 (+0200) Subject: wip #5991 X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=f08ad8e853ebd022aa1bafc5c18b89ed5da43983;p=fluidbook_tools.git wip #5991 --- 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(); }