GDK-PIXBUF-CSOURCE(1) | User Commands | GDK-PIXBUF-CSOURCE(1) |
NAME¶
gdk-pixbuf-csource - C code generation utility for GdkPixbuf images
SYNOPSIS¶
gdk-pixbuf-csource [OPTION...] [IMAGE]
gdk-pixbuf-csource [OPTION...] --build-list [[NAME] [IMAGE]...]
DESCRIPTION¶
gdk-pixbuf-csource is a small utility that generates C code containing images, useful for compiling images directly into programs.
gdk-pixbuf-csource either takes as input one image file name to generate code for, or, using the --build-list option, a list of (name, image) pairs to generate code for a list of images into named variables.
OPTIONS¶
--stream
--struct
--macros
--rle
--raw
--extern
--static
--decoder
--name=identifier
--build-list
-h, --help
-v, --version
--g-fatal-warnings
SEE ALSO¶
The GdkPixbuf documentation, shipped with the Gtk+ distribution, available from www.gtk.org[1].
BUGS¶
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.
NOTES¶
- 1.
- www.gtk.org
gdk-pixbuf |