- Issue created by @tlo405
- 🇮🇳India mdsohaib4242
You can use pngcrush to remove unwanted metadata from PNG images
- Install pngcrush
- Run command -
pngcrush -rem allb -out output.png input.png
- 🇮🇳India nitesh624 Ranchi, India
Is this warning generated through issue in image file?
- 🇮🇳India mdsohaib4242
Yes, the warning is generated because of an issue in the image file itself. Specifically, it indicates that the PNG image contains invalid or multiple ICC color profiles.
- 🇮🇳India nitesh624 Ranchi, India
So should we Avoid this warning from drupal core side like https://www.drupal.org/project/drupal/issues/3261924 🐛 Avoid warning from imagecreatefrompng when loading png with obscure iCCP profiles Needs work .
And I see fixes in https://www.drupal.org/project/drupal/issues/3261924 🐛 Avoid warning from imagecreatefrompng when loading png with obscure iCCP profiles Needs work fixes this warning also. I am wondering if we can just update the test with scenario from this issue also