Initial release of Maemo 5 port of gnuplot
[gnuplot] / src / wxterminal / bitmaps / png / README.embedding
1 =====================
2 Embedded PNG icons
3 =====================
4
5 To have nice icons in its toolbar, the wxWidgets terminal needs bitmaps with a
6 true alpha channel (i.e. each pixel has four characteristics : red, green,
7 blue, transparency, each one is coded in 8 bits).
8
9 This is easily provided by the use of PNG images. However, finding those files
10 at run-time in a portable and reliable way is difficult. That is why they are
11 embedded directly in the source code at compile time. The necessary preliminary
12 step is to convert these binary files to C array. This is done with a utility
13 called 'bin2c' whose source code can be found in the wxWidgets wiki (search for
14 "Embedding PNG Images").