commit | cf49919686fc9bb3353f1539cdc7593a0c0621fe | [log] [tgz] |
---|---|---|
author | John Bowler <jbowler@acm.org> | Thu Mar 01 21:54:07 2012 -0600 |
committer | Glenn Randers-Pehrson <glennrp at users.sourceforge.net> | Thu Mar 01 21:54:07 2012 -0600 |
tree | 20eac78c9ab566318fa0ada4115640602da2f759 | |
parent | 363ae65e2b20c06895d4c4c065368654ae9eba63 [diff] |
[libpng16] Fixed some bugs in ICC profile writing. The code should now accept all potentially valid ICC profiles and reject obviously invalid ones. It now uses png_error() to do so rather than casually writing a PNG without the necessary color data.