remove image function check

This commit is contained in:
Dennis Eichhorn 2023-10-23 01:52:12 +00:00
parent 7f8d825f60
commit 506cda3dd4

View File

@ -7360,7 +7360,7 @@ class TCPDF {
} }
} }
// GD extension // GD extension
if (($parsed === false) && \function_exists('imagecreatefrompng')) { if (($parsed === false)) {
try { try {
// generate images // generate images
$img = \imagecreatefrompng($file); $img = \imagecreatefrompng($file);