]> _ Git - fluidbook_tools.git/commitdiff
wait #5960 @0.25
authorVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 30 May 2023 12:19:49 +0000 (14:19 +0200)
committerVincent Vanwaelscappel <vincent@cubedesigners.com>
Tue, 30 May 2023 12:19:49 +0000 (14:19 +0200)
src/Links/ZoomLink.php

index 2cf6806526666767e99239b243faff205f457f8d..f4c8260b3f7af0c417a36ab7f16eeb8317044bcb 100644 (file)
@@ -106,7 +106,7 @@ class ZoomLink extends NormalLink {
             // The Poppler::extractArea function accepts a resolution setting and uses that to determine the
             // scale factor on the extracted images. It does so by dividing by 72, so we can pass our own scale
             // factor by setting the resolution to 72 * $maxzoom
-            'resolution' => Poppler::RESOLUTION_FACTOR * 2 * $maxzoom,
+            'resolution' => Poppler::RESOLUTION_FACTOR * $maxzoom,
         ];
         if (isset($attributes['quality'])) {
             $extractOptions['quality'] = $attributes['quality'];