Re: [fltk/fltk] Fl_Image_Reader::read_byte() does not return EOF with file reads (#271)
Albrecht Schlosser
Sep 26, 2021
FTR: I found the culprit in the image mentioned above (resize.gif) and our FLTK decoder. The problem is that ColorMapSize == 2 (i.e. 0, 1) but the transparent color index is set to 2, i.e. beyond the existing colormap. Our current code could not deal with this. My new code extends the colormap and now it works. :-)
Here is an image of the resultant display in FLTK with:
window background: light yellow
image box background: pink
hence transparent pixels are pink
Next step: clean up code and commit...
— 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.
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.