TCPDF icon indicating copy to clipboard operation
TCPDF copied to clipboard

imagecreatefrompng(): gd-png: libpng warning: iCCP: known incorrect sRGB profile

Open kvvaradha opened this issue 9 months ago • 6 comments

imagecreatefrompng(): gd-png: libpng warning: iCCP: known incorrect sRGB profile

kvvaradha avatar May 10 '25 16:05 kvvaradha

How did you install tcpdf and PHP?

williamdes avatar May 10 '25 16:05 williamdes

I'd say it's not a tcpdf issue

williamdes avatar May 10 '25 16:05 williamdes

i just download a copy of it, and hooked it like before.

its not collectively tcpdf issue, its the issue with the size of the image that we are trying to read it.

can you update @imagecreatefrompng to make sure that doesnt create problems in future.

and also @imagecreatefromjpeg

kvvaradha avatar May 13 '25 05:05 kvvaradha

can you update @imagecreatefrompng to make sure that doesnt create problems in future. and also @imagecreatefromjpeg

They are PHP functions, please reach out to a support forum or to PHP bugs

williamdes avatar May 13 '25 12:05 williamdes

ok. but they will release the solution on next major works, can we suppress the warning for earlier versions of php, because not everyone will go to the next php version immediately,

kvvaradha avatar May 19 '25 04:05 kvvaradha

@nicolaasuni you can close this one I think

williamdes avatar May 27 '25 10:05 williamdes