summaryrefslogtreecommitdiff
path: root/pixmaps/tools/README
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2009-10-24 20:47:24 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2009-10-24 20:47:24 +0200
commit5d416e8e2f2d56552d3b70855522353888269d65 (patch)
tree8384638286cedc5944750d55847bbc439d813267 /pixmaps/tools/README
parent9a9e840382ab9d12ee14c28f142c70be42743ba8 (diff)
downloadtuxcmd-5d416e8e2f2d56552d3b70855522353888269d65.tar.xz
Publish pixmap include maker tool
This a support tool for converting images to a Pascal include file. Published on people demand.
Diffstat (limited to 'pixmaps/tools/README')
-rw-r--r--pixmaps/tools/README8
1 files changed, 8 insertions, 0 deletions
diff --git a/pixmaps/tools/README b/pixmaps/tools/README
new file mode 100644
index 0000000..eb0d44b
--- /dev/null
+++ b/pixmaps/tools/README
@@ -0,0 +1,8 @@
+How to translate image to an inline form suitable for compilation in the main binary:
+ 1. Use `gdk-pixbuf-csource' utility to get C source of the pixmap
+ 2. Include the C source file in gdk-pixbuf-pas.c
+ 3. Recompile (use attached Makefile), run, split the output in several Pascal source files
+
+See http://library.gnome.org/devel/gdk-pixbuf/stable/gdk-pixbuf-inline.html for inlining
+
+TODO: Further automatize