sandungas
Developer
Another couple of things we know (thx to littlebalup tests) and has not been commented on public is you can delete the file imagefont.bin and the firmware will work normally (not tested in all enviroments of course because are a lot but seems safe), the missing icons shows an underscore but the text messages including them shows normally (with underscores instead of the icons)
Also, is posible to create icons with colormaps smaller than 256 colors... all ofw icons has 256 colors, but that "spinning guy" from a test few messages above had only 5 colors
Also... all official icon images can be extracted and processed in a image editor app (gimp, photoshop, etc...) to recalculate the amount of colors with the purpose of reducing them under 256 (this is really easy because official ones are a disaster... as example there are a lot in white scale with 256 colors)
Combine all this ideas and we have 2 different methods to reduce the size of imagefont.bin... by removing icons... and by reducing color palettes
The icons inside imagefont.bin are grouped, there are 3 groups that are critical (SYSTEM, LOGOS, and BUTTONS)... this ones can be extracted and reduced the color palette (without losing any quality)
All the other icons can be deleted because are for chat and things like this, actually i dont remember to see any of them ever but well the risk in removing is very small, this is going to reduce the file size a lot
The point of this "lite" version of imagefont.bin is to increase the available space inside flash
This is handy for people that wants to build a firmware and needs space for other files... is a good trick to have in the sleeve
FYI @Joonie we was talking time ago about how to make space in flash, this was not posible before but now is my favourite method
Also, is posible to create icons with colormaps smaller than 256 colors... all ofw icons has 256 colors, but that "spinning guy" from a test few messages above had only 5 colors
Also... all official icon images can be extracted and processed in a image editor app (gimp, photoshop, etc...) to recalculate the amount of colors with the purpose of reducing them under 256 (this is really easy because official ones are a disaster... as example there are a lot in white scale with 256 colors)
Combine all this ideas and we have 2 different methods to reduce the size of imagefont.bin... by removing icons... and by reducing color palettes
The icons inside imagefont.bin are grouped, there are 3 groups that are critical (SYSTEM, LOGOS, and BUTTONS)... this ones can be extracted and reduced the color palette (without losing any quality)
All the other icons can be deleted because are for chat and things like this, actually i dont remember to see any of them ever but well the risk in removing is very small, this is going to reduce the file size a lot
The point of this "lite" version of imagefont.bin is to increase the available space inside flash
This is handy for people that wants to build a firmware and needs space for other files... is a good trick to have in the sleeve
FYI @Joonie we was talking time ago about how to make space in flash, this was not posible before but now is my favourite method






