GDK-PIXBUF-CSOURCE() | GDK-PIXBUF-CSOURCE() |
NAME
gdk-pixbuf-csource - C code generation utility for GdkPixbuf images
SYNOPSIS
gdk-pixbuf-csource [OPTIONS...] <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.
This tool is mostly meant to be used for backward compatibility. Newly written applications and libraries should use GResource to embed image assets in their binary.
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 by gdk-pixbuf, and also available online on docs.gtk.org.
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.