WARNING[Main]: Irrlicht: PNG warning: iCCP: known incorrect sRGB profile
Offending files:
/stairs/textures/stairs_obsidian_glass_stairside.png
/stairs/textures/stairs_obsidian_glass_outer_stairside.png
It is possible I did not check this with the obsidian textures during that PR.
I'll check this shortly. Thank you stujones11
@stujones11 can you test whenever you have a chance and let me know if it's all set please?
@TumeniNodes Those were the only two images that were flagged when scanning all textures. Here is the script I use.
#! /bin/sh
find . -name '*.png' -print | while read pngfile; do
libpngoutput=$(pngtogd $pngfile /tmp/test.gd 2>&1)
if [ -n "$libpngoutput" ]; then
echo $pngfile
fi
done
rm /tmp/test.gd
You will need to have libgd-tools installed otherwise it flags every image as bad. Just run this script inside the top level dir of the textures you wish to scan.
Of course, you can easily see if your changes fix the warning by simply launching the game from a console ;)
Thank you stujones11.
Oooh, I like that script, will come in handy.