Post Reply 
 
Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Libpng 1.6.2 issues
06-20-2013, 03:12 PM (This post was last modified: 06-20-2013 03:43 PM by antoniovazquez.)
Post: #1
Libpng 1.6.2 issues
For those who have updated to libpng 1.6.2 may have noticed warnings in VDrift logs.
New libpng does more checking on iccp and some old profiles are now invalid. This is anoying as some images just don't appear in the game. My recomendation is fixing this files as soon as posible as many linux distros can update libpng and that will partially break the game. Here is a list of the affected files:

In order to view links, you must have to reply to this thread.

I will think a bit about how this can be automated.

As it seems, running convert over a file is enought to fix the issue so running "convert file.png file.png" will make it usable again. As filtering files that may have profile corruption need some thinking I've ran convert over every png I found:

find data/ -name "*.png" | while read f; do convert "$f" "$f"; done

That worked for a lot of them.
Find all posts by this user
Quote this message in a reply
06-22-2013, 04:08 PM
Post: #2
RE: Libpng 1.6.2 issues
Yeah, I've been thinking about logging texture names when loading them. This should help identifying the offending pngs.
Find all posts by this user
Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 1 Guest(s)