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