From 5d416e8e2f2d56552d3b70855522353888269d65 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sat, 24 Oct 2009 20:47:24 +0200 Subject: Publish pixmap include maker tool This a support tool for converting images to a Pascal include file. Published on people demand. --- pixmaps/tools/README | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 pixmaps/tools/README (limited to 'pixmaps/tools/README') 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 -- cgit v1.2.3