From: Louis Jeckel Date: Tue, 29 Sep 2020 16:56:29 +0000 (+0200) Subject: colorspace SRGB X-Git-Url: http://git.cubedesigners.com/?a=commitdiff_plain;h=8b61f806d275b2c97955577bbf3cc42f1fdf655a;p=psq.git colorspace SRGB --- diff --git a/app/PdfFile.php b/app/PdfFile.php index 3990381..616ce34 100644 --- a/app/PdfFile.php +++ b/app/PdfFile.php @@ -441,7 +441,8 @@ class PdfFile extends TwillModel implements Sortable Storage::disk('public')->makeDirectory('covers'); $pdf = new PdfToImage\Pdf($this->absolutePdfPath); - $pdf->setResolution(72) + $pdf->setResolution(100) + ->setColorspace(\Imagick::COLORSPACE_SRGB) ->saveImage($tmp); $image =\Image::make($tmp);