warnings when running tuxpaint from a graphical terminal.
An award-winning drawing program for children of all ages
Brought to you by:
wkendrick
running tuxpaint (sdl1) from an xterm/kterminal etc. gives 5 libpng warnings.
libpng warning: iCCP: too many profiles
libpng warning: bKGD: invalid gray level
libpng warning: bKGD: invalid gray level
libpng warning: bKGD: invalid gray level
libpng warning: bKGD: invalid gray level
tuxpaint appears to run ok.
running the sdl2 version gives the same warning messages above plus an additional 7 copies of...
libpng warning: Interface handling should be turned on when using png_read_image
again, tuxpaint itself appears to run ok.
the (system) version of libpng is 1.6.37
woops. correction. in the above report please swap sdl1 and sdl2
This has been going on forever. I'm not sure whether there's a way to ask SDL_image library to report anything back, to help us track down the files. I'm guessing the best solution would be a small test program that uses libpng to open files, and run
find . -name "*.png" -exec ...or something to exercise every single PNG file.Created
test-pngtool to do this, seems to find files :)https://sourceforge.net/p/tuxpaint/tuxpaint/ci/06fafcb6d698f5b891514924292589ddcfdaa796/
Last edit: William Kendrick 2022-07-04
Some remaining warnings:
Otherwise,
pngout'ing files helped with the other warnings.See https://sourceforge.net/p/tuxpaint/tuxpaint/ci/f56acbe34de2143b3cf6720514194c0e93d9f724/
many thanks.
regards, Tim
On 04/07/2022 03:55, William Kendrick wrote:
--
This email has been checked for viruses by AVG.
https://www.avg.com
Related
Bugs:
#252Amusingly, Tux Paint itself (via its call to
png_set_IHDR()indo_png_save()) saves PNGs as interlaced, so when they are loaded, the "Interlace handling..." is echoed to STDERR.Not going to change that (for now), but will close this since all of the other STDERR-spamming culprit files that ship with Tux Paint have been adjusted. (See https://sourceforge.net/p/tuxpaint/tuxpaint/ci/11ca37c8b494573e7ad68a4a6fe467b8c3f7ab64/)