Bugs in gif.c
Posted: 2013-03-04T19:25:51-07:00
The processing of the extension in gif.c has following bugs:
(1) It displace the comment extension for animated Gif, i.e., it puts the comment extension of ith frame to (i-1)th frame, and drops the comment extension of 0th frame.
(2) It only saves at most one comment extension per frame (Gif specification has no such limit) -- SetImageProperty(image,"comment",comments) overwrites the previous comment.
(3) It drops the text extension automatically -- the text extension is processed through "default" path and is dropped.
(1) It displace the comment extension for animated Gif, i.e., it puts the comment extension of ith frame to (i-1)th frame, and drops the comment extension of 0th frame.
(2) It only saves at most one comment extension per frame (Gif specification has no such limit) -- SetImageProperty(image,"comment",comments) overwrites the previous comment.
(3) It drops the text extension automatically -- the text extension is processed through "default" path and is dropped.