Blame gdk-pixbuf/gdk-pixbuf-csource.1

Packit a4058c
.TH GDK-PIXBUF-CSOURCE 1 "04 Sep 2001"
Packit a4058c
.SH NAME
Packit a4058c
gdk-pixbuf-csource \- C code generation utility for GdkPixbuf images
Packit a4058c
.SH SYNOPSIS
Packit a4058c
Packit a4058c
\fBgdk-pixbuf-csource\fP [\fIoptions\fP] [\fIimage\fP]
Packit a4058c
.br
Packit a4058c
\fBgdk-pixbuf-csource\fP [\fIoptions\fP] \fI--build-list\fP [[\fIname image\fP]...]
Packit a4058c
Packit a4058c
.SH DESCRIPTION
Packit a4058c
\fBgdk-pixbuf-csource\fP is a small utility that generates C code containing
Packit a4058c
images, useful for compiling images directly into programs.
Packit a4058c
Packit a4058c
.SH INVOCATION
Packit a4058c
Packit a4058c
\fBgdk-pixbuf-csource\fP either takes as input one image file name to generate code
Packit a4058c
for, or, using the \fI--build-list\fP option, a list of (\fIname\fP, \fIimage\fP)
Packit a4058c
pairs to generate code for a list of images into named variables.
Packit a4058c
Packit a4058c
.SS Options
Packit a4058c
.TP
Packit a4058c
\fI--stream
Packit a4058c
Generate pixbuf data stream (a single string containing a serialized
Packit a4058c
GdkPixdata structure in network byte order).
Packit a4058c
Packit a4058c
.TP
Packit a4058c
\fI--struct
Packit a4058c
Generate GdkPixdata structure (needs the GdkPixdata structure definition from
Packit a4058c
gdk-pixdata.h).
Packit a4058c
Packit a4058c
.TP
Packit a4058c
\fI--macros
Packit a4058c
Generate *_ROWSTRIDE, *_WIDTH, *_HEIGHT, *_BYTES_PER_PIXEL and
Packit a4058c
*_RLE_PIXEL_DATA or *_PIXEL_DATA macro definitions for the image.
Packit a4058c
Packit a4058c
.TP
Packit a4058c
\fI--rle
Packit a4058c
Enables run-length encoding for the generated pixel data (default).
Packit a4058c
Packit a4058c
.TP
Packit a4058c
\fI--raw
Packit a4058c
Disables run-length encoding for the generated pixel data.
Packit a4058c
Packit a4058c
.TP
Packit a4058c
\fI--extern
Packit a4058c
Generate extern symbols.
Packit a4058c
Packit a4058c
.TP
Packit a4058c
\fI--static
Packit a4058c
Generate static symbols (default).
Packit a4058c
Packit a4058c
.TP
Packit a4058c
\fI--decoder
Packit a4058c
Provide a *_RUN_LENGTH_DECODE(image_buf, rle_data, size, bpp) macro definition
Packit a4058c
to decode run-length encoded image data.
Packit a4058c
Packit a4058c
.TP
Packit a4058c
\fI--name=identifier
Packit a4058c
Specifies the identifier name (prefix) for the generated variables or
Packit a4058c
macros (useful only if \fI--build-list\fP was not specified).
Packit a4058c
Packit a4058c
.TP
Packit a4058c
\fI--build-list
Packit a4058c
Enables (\fIname\fP, \fIimage\fP) pair parsing mode.
Packit a4058c
Packit a4058c
.TP
Packit a4058c
\fI-h, --help\fP 
Packit a4058c
Print brief help and exit.
Packit a4058c
Packit a4058c
.TP
Packit a4058c
\fI-v, --version\fP
Packit a4058c
Print version and exit.
Packit a4058c
Packit a4058c
.TP
Packit a4058c
\fI--g-fatal-warnings
Packit a4058c
Make warnings fatal (causes the program to abort).
Packit a4058c
Packit a4058c
.PP
Packit a4058c
Packit a4058c
.SH SEE ALSO
Packit a4058c
The \fIGdkPixbuf\fP documentation, shipped with the \fIGtk+\fP distribution,
Packit a4058c
available from \fIhttp://www.gtk.org\fP.
Packit a4058c
Packit a4058c
.SH BUGS 
Packit a4058c
None known yet.
Packit a4058c
Packit a4058c
.SH AUTHOR
Packit a4058c
.B gdk-pixbuf-csource
Packit a4058c
was written by Tim Janik <timj@gtk.org>.
Packit a4058c
.PP
Packit a4058c
This manual page was provided by Tim Janik <timj@gtk.org>.