The Author, Description, and Title text fields in the PNG header are clipped to 255 bytes, even though the PNG specification allows chunk sizes up to 2^31-1 bytes. The is due to the use of iGetString() where the max length is a magic number hard coded to 255. The solution is to use ilGetString() which allows an unbounded string length.
A patch for this bug is attached.
Log in to post a comment.