2 .\" Title: gdk-pixbuf-csource
3 .\" Author: [see the "Author" section]
4 .\" Generator: DocBook XSL Stylesheets v1.76.1 <http://docbook.sf.net/>
6 .\" Manual: [FIXME: manual]
7 .\" Source: [FIXME: source]
10 .TH "GDK\-PIXBUF\-CSOURCE" "1" "04/14/2012" "[FIXME: source]" "[FIXME: manual]"
11 .\" -----------------------------------------------------------------
12 .\" * Define some portability stuff
13 .\" -----------------------------------------------------------------
14 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15 .\" http://bugs.debian.org/507673
16 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
17 .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
20 .\" -----------------------------------------------------------------
21 .\" * set default formatting
22 .\" -----------------------------------------------------------------
23 .\" disable hyphenation
25 .\" disable justification (adjust text to left margin only)
27 .\" -----------------------------------------------------------------
28 .\" * MAIN CONTENT STARTS HERE *
29 .\" -----------------------------------------------------------------
31 gdk-pixbuf-csource \- C code generation utility for GdkPixbuf images
33 .HP \w'\fBgdk\-pixbuf\-csource\fR\ 'u
34 \fBgdk\-pixbuf\-csource\fR [options] [image]
35 .HP \w'\fBgdk\-pixbuf\-csource\fR\ 'u
36 \fBgdk\-pixbuf\-csource\fR [options] \-\-build\-list [[name]\ [image]...]
40 \fBgdk\-pixbuf\-csource\fR
41 is a small utility that generates C code containing images, useful for compiling images directly into programs\&.
45 \fBgdk\-pixbuf\-csource\fR
46 either takes as input one image file name to generate code for, or, using the
48 option, a list of (\fIname\fR,
49 \fIimage\fR) pairs to generate code for a list of images into named variables\&.
54 Generate pixbuf data stream (a single string containing a serialized
56 structure in network byte order)\&.
61 Generate GdkPixdata structure (needs the
63 structure definition from
69 Generate *_ROWSTRIDE, *_WIDTH, *_HEIGHT, *_BYTES_PER_PIXEL and *_RLE_PIXEL_DATA or *_PIXEL_DATA macro definitions for the image\&.
74 Enables run\-length encoding for the generated pixel data (default)\&.
79 Disables run\-length encoding for the generated pixel data\&.
84 Generate extern symbols\&.
89 Generate static symbols (default)\&.
94 Provide a *_RUN_LENGTH_DECODE(image_buf, rle_data, size, bpp) macro definition to decode run\-length encoded image data\&.
97 \fB\-\-name=identifier\fR
99 Specifies the identifier name (prefix) for the generated variables or macros (useful only if
100 \fB\-\-build\-list\fR
101 was not specified)\&.
104 \fB\-\-build\-list\fR
107 \fIimage\fR) pair parsing mode\&.
110 \fB\-h\fR, \fB\-\-help\fR
112 Print brief help and exit\&.
115 \fB\-v\fR, \fB\-\-version\fR
117 Print version and exit\&.
120 \fB\-\-g\-fatal\-warnings\fR
122 Make warnings fatal (causes the program to abort)\&.
128 documentation, shipped with the Gtk+ distribution, available from
129 \m[blue]\fBwww\&.gtk\&.org\fR\m[]\&\s-2\u[1]\d\s+2\&.
132 The runlength encoder gets out of sync with the pixel boundaries, since it includes the rowstride padding in the encoded stream\&. Furthermore, it generates pixbufs with suboptimal rowstride in some cases\&.
136 \fBgdk\-pixbuf\-csource\fR
137 was written by Tim Janik
140 This manual page was provided by Tim Janik