2003-06-17 00:37:28 +00:00
. \"Generated by db2man.xsl. Don't modify this, modify the source.
.de Sh \" Subsection
.br
.if t .Sp
.ne 5
.PP
\fB \\ $1\fR
.PP
. .
.de Sp \" Vertical space (when we can't use .PP)
.if t .sp .5v
.if n .sp
. .
.de Ip \" List item
.br
.ie \\ n(.$>=3 .ne \\ $3
.el .ne 3
.IP "\\$1" \\ $2
. .
.TH "GDK-PIXBUF-CSOURCE" 1 "" "" ""
.SH NAME
gdk-pixbuf-csource \- C code generation utility for GdkPixbuf images
.SH "SYNOPSIS"
2004-08-25 16:21:15 +00:00
.ad l
.hy 0
.HP 19
\fB gdk\- pixbuf\- csource\fR [options] [image]
.ad
.hy
.ad l
.hy 0
.HP 19
\fB gdk\- pixbuf\- csource\fR [options] \- \- build\- list [[name]\ [image]...]
.ad
.hy
2003-06-17 00:37:28 +00:00
.SH "DESCRIPTION"
.PP
2004-08-25 16:21:15 +00:00
\fB gdk\- pixbuf\- csource\fR is a small utility that generates C code containing images, useful for compiling images directly into programs\& .
2003-06-17 00:37:28 +00:00
.SH "INVOCATION"
.PP
2004-08-25 16:21:15 +00:00
\fB gdk\- pixbuf\- csource\fR either takes as input one image file name to generate code for, or, using the \fB \- \- build\- list\fR option, a list of (\fI name\fR , \fI image\fR ) pairs to generate code for a list of images into named variables\& .
2003-06-17 00:37:28 +00:00
.SS "Options"
.TP
2004-08-25 16:21:15 +00:00
\fB \- \- stream\fR
2003-06-17 00:37:28 +00:00
Generate pixbuf data stream (a single string containing a serialized GdkPixdata structure in network byte order)\& .
.TP
2004-08-25 16:21:15 +00:00
\fB \- \- struct\fR
Generate GdkPixdata structure (needs the GdkPixdata structure definition from \fI gdk\- pixdata\& .h\fR )\& .
2003-06-17 00:37:28 +00:00
.TP
2004-08-25 16:21:15 +00:00
\fB \- \- macros\fR
2003-06-17 00:37:28 +00:00
Generate *_ROWSTRIDE, *_WIDTH, *_HEIGHT, *_BYTES_PER_PIXEL and *_RLE_PIXEL_DATA or *_PIXEL_DATA macro definitions for the image\& .
.TP
2004-08-25 16:21:15 +00:00
\fB \- \- rle\fR
Enables run\- length encoding for the generated pixel data (default)\& .
2003-06-17 00:37:28 +00:00
.TP
2004-08-25 16:21:15 +00:00
\fB \- \- raw\fR
Disables run\- length encoding for the generated pixel data\& .
2003-06-17 00:37:28 +00:00
.TP
2004-08-25 16:21:15 +00:00
\fB \- \- extern\fR
2003-06-17 00:37:28 +00:00
Generate extern symbols\& .
.TP
2004-08-25 16:21:15 +00:00
\fB \- \- static\fR
2003-06-17 00:37:28 +00:00
Generate static symbols (default)\& .
.TP
2004-08-25 16:21:15 +00:00
\fB \- \- decoder\fR
Provide a *_RUN_LENGTH_DECODE(image_buf, rle_data, size, bpp) macro definition to decode run\- length encoded image data\& .
2003-06-17 00:37:28 +00:00
.TP
2004-08-25 16:21:15 +00:00
\fB \- \- name=identifier\fR
Specifies the identifier name (prefix) for the generated variables or macros (useful only if \fB \- \- build\- list\fR was not specified)\& .
2003-06-17 00:37:28 +00:00
.TP
2004-08-25 16:21:15 +00:00
\fB \- \- build\- list\fR
2003-06-17 00:37:28 +00:00
Enables (\fI name\fR , \fI image\fR ) pair parsing mode\& .
.TP
2004-08-25 16:21:15 +00:00
\fB \- h\fR , \fB \- \- help\fR
2003-06-17 00:37:28 +00:00
Print brief help and exit\& .
.TP
2004-08-25 16:21:15 +00:00
\fB \- v\fR , \fB \- \- version\fR
2003-06-17 00:37:28 +00:00
Print version and exit\& .
.TP
2004-08-25 16:21:15 +00:00
\fB \- \- g\- fatal\- warnings\fR
2003-06-17 00:37:28 +00:00
Make warnings fatal (causes the program to abort)\& .
.SH "SEE ALSO"
.PP
The GdkPixbuf documentation, shipped with the Gtk+ distribution, available from www\& .gtk\& .org: \fI http://www.gtk.org\fR \& .
.SH "BUGS"
.PP
2004-08-25 16:21:15 +00:00
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\& .
2003-06-17 00:37:28 +00:00
.SH "AUTHOR"
.PP
2004-08-25 16:21:15 +00:00
\fB gdk\- pixbuf\- csource\fR was written by Tim Janik <timj@gtk\& .org>\& .
2003-06-17 00:37:28 +00:00
.PP
This manual page was provided by Tim Janik <timj@gtk\& .org>\& .