diff --git a/tcpdf/TCPDF.php b/tcpdf/TCPDF.php index 1e135d8..4a227a9 100644 --- a/tcpdf/TCPDF.php +++ b/tcpdf/TCPDF.php @@ -7360,7 +7360,7 @@ class TCPDF { } } // GD extension - if (($parsed === false) && \function_exists('imagecreatefrompng')) { + if (($parsed === false)) { try { // generate images $img = \imagecreatefrompng($file);