From f6acd6dfe11eb7929a055ce4e3006dcb0fa99a4e Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Thu, 28 Dec 2023 19:04:23 +0100 Subject: [PATCH] Update tcpdf.php --- htdocs/includes/tecnickcom/tcpdf/tcpdf.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/htdocs/includes/tecnickcom/tcpdf/tcpdf.php b/htdocs/includes/tecnickcom/tcpdf/tcpdf.php index 70af2dc0f3e..a1f7453294d 100644 --- a/htdocs/includes/tecnickcom/tcpdf/tcpdf.php +++ b/htdocs/includes/tecnickcom/tcpdf/tcpdf.php @@ -7460,7 +7460,7 @@ class TCPDF $color = imagecolorat($img, $xpx, $ypx); // get and correct gamma color $alpha = $this->getGDgamma($img, $color); - imagesetpixel($imgalpha, $xpx, $ypx, (int)$alpha); + imagesetpixel($imgalpha, $xpx, $ypx, (int) $alpha); } } imagepng($imgalpha, $tempfile_alpha);