[libGD] #52 [Comment added] Reading GIF images is not thread safe.
[email protected] (libGD)
| Newsgroups | php.gd.bugs |
|---|---|
| Message-ID | <[email protected]> |
THIS IS AN AUTOMATED MESSAGE, DO NOT REPLY. The following task has a new comment added: FS#52 - Reading GIF images is not thread safe. User who did this - Pierre Joye (Pierre) ---------- Ok, after having put my hands back in this code, I think we need some more cleanup in 2.1.0 (especially to add the animation loading feature). I will add some specs in the other report and propose a patch to improve and clean this code. The patch will obviously include yours :-) The problem we have in tests/gif/bug00005_2.gif was "solved" by using the screen width&height instead of the local frame dimension. Given that this image is GIF87a and not GIF89a (animated), we may assume that there is no animation or frames. The screen dimension can be used instead of the local width&height. Firefox (or mozilla) uses this solution to solve broken data (it is crazy to see how many ways there is to break the gif format...). What do you think about this change? It may solve both problems once and hopefully for all. ---------- More information can be found at the following URL: http://bugs.libgd.org/?do=details&task_id=52#comment159 You are receiving this message because you have requested it from the Flyspray bugtracking system. If you did not expect this message or don't want to receive mails in future, you can change your notification settings at the URL shown above.