|
|
Dear, FLTK developers.
I've been found an issue for Fl_PNG_Image cannot read some PNG files of this condition with @fire-eggs with this issue ( rageworx/fl_imgtk#16 )
- If PNG is grayscale image up to 8bit depth with has alpha channel ( transparency bits ),
- Fl_PNG_Image recognized this image as 2 depth ( as RGB555, or RGB565 ).
So I tested with my own clonned Fl_PNG_Image to solve this issue here.
If alpha channel existed, array converting to RGBA, then process to each graphics driver.
My Fl_PNG_Image may not the best choice, but it should be make it better to load PNG images.
Regards, Raph.K.
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub, or unsubscribe.
[ Direct Link to Message ] | |
|
| |