Jarsve
To clarify. My icons are transparent in the gray parts there. Its just that there is no grading of transparity like more advanced picture format has. Even icon files is better. Maybe implementing icons would be best. You have 2 typed. *.ico and *.icl. Last is icon library and you can put in as many icons as you wants in it. *.ico files has that in a way too, but you can not select pictures. They display after size.
That's correct, gradients aren't supported the same in bmp.
bmp is used as a wrapper for png, to get transparency in this case.
Without boring everyone with details, that's why png24 works better than png8 when they both can create a simple alpha channel.
Same with the program running the code and long explanations.
But to put simply... the ancient bmp format is still the norm for windows programming because they are native to DOS.
A GUI isn't usually changed by the user "in part", and the larger file size is balanced by reading speed in Windows, so it's still fast, and a "standard standard". lol
ICO is too restrictive.. png support would work best here, other than adding to the code-string.
Basically changing the format used at the coding level is easy enough, but it's like adding a separate app to view the format before the user sees it..... much more code and "display latency". blah blah blah
I have a e-book I wrote years ago if I can dig it up, but it is out of date as far as graphic use and format support go.
And I've read somewhere that GIFs patent expired in 04. lol
Thanks again for sharing them!