|
|
The two commits mentioned above add error detection to Fl_Image_Reader as discussed above. I also added Fl_Image_Reader::tell() which can be used in error cases to help debugging (output the current memory/file offset in error messages).
Still to do: use the new feature(s) in Fl_GIF_Image and Fl_BMP_Image. This is work in progress: I'm almost done with but this needs some cleanup. I'm also still testing some special images that are either broken or can't be decoded by our code.
FWIW: this image file (resize.gif) appears to be displayed with random colors or crashes the current (FLTK) GIF decoder. Here is an upscaled image as displayed by gimp. If someone feels inclined to find the bug...
Review of the new Fl_Image_Reader code would be appreciated.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe. Triage notifications on the go with GitHub Mobile for iOS or Android.
[ Direct Link to Message ] | |
|
| |