Warning: imagecreatefromstring(): gd-png: libpng warning: iCCP: known incorrect sRGB profile in /vendor/mpdf/mpdf/src/Image/ImageProcessor.php on line 563

Warning: imagecreatefromstring(): gd-png: libpng warning: iCCP: cHRM chunk does not match sRGB in /vendor/mpdf/mpdf/src/Image/ImageProcessor.php on line 563

Fatal error: Uncaught Mpdf\MpdfException: Data has already been sent to output (/vendor/mpdf/mpdf/src/Image/ImageProcessor.php at line 563), unable to output PDF file in /vendor/mpdf/mpdf/src/Mpdf.php:9412 Stack trace: #0 /controllers/pdf.php(71): Mpdf\Mpdf->Output('zloz-wniosek-pr...', 'I') #1 /index.php(123): include_once('/controllers/pd...') #2 {main} thrown in /vendor/mpdf/mpdf/src/Mpdf.php on line 9412