Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gdk-pixbuf-csource(1) [centos man page]

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 Generate pixbuf data stream (a single string containing a serialized GdkPixdata structure in network byte order). --struct Generate GdkPixdata structure (needs the GdkPixdata structure definition from gdk-pixdata.h). --macros Generate *_ROWSTRIDE, *_WIDTH, *_HEIGHT, *_BYTES_PER_PIXEL and *_RLE_PIXEL_DATA or *_PIXEL_DATA macro definitions for the image. --rle Enables run-length encoding for the generated pixel data (default). --raw Disables run-length encoding for the generated pixel data. --extern Generate extern symbols. --static Generate static symbols (default). --decoder Provide a *_RUN_LENGTH_DECODE(image_buf, rle_data, size, bpp) macro definition to decode run-length encoded image data. --name=identifier Specifies the identifier name (prefix) for the generated variables or macros (useful only if --build-list was not specified). --build-list Enables (name, image) pair parsing mode. -h, --help Print brief help and exit. -v, --version Print version and exit. --g-fatal-warnings Make warnings fatal (causes the program to abort). 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 http://www.gtk.org gdk-pixbuf GDK-PIXBUF-CSOURCE(1)

Check Out this Related Man Page

gdk-pixbuf-query-loaders(1)					   User Commands				       gdk-pixbuf-query-loaders(1)

NAME
gdk-pixbuf-query-loaders - GdkPixbuf loader registration utility SYNOPSIS
gdk-pixbuf-query-loaders [module...] DESCRIPTION
gdk-pixbuf-query-loaders collects information about loadable modules for gdk-pixbuf and writes it to stdout. If the output is placed in /etc/gtk-2.0/gdk-pixbuf.loaders, then these loaders will be configured and used by GTK+ by default. If called without arguments, gdk-pixbuf-query-loaders looks for modules in the gdk-pixbuf loader directory, /usr/lib/gtk-2.0/version/load- ers. If called with arguments, it looks for the specified modules. The arguments may be absolute or relative paths. OPERANDS
The following operands are supported: module Specify the modules to query. EXAMPLES
Example 1: Installing a new pixbuf loader that is installed to the default gdk-pixbuf loader directory. example% gdk-pixbuf-query-loaders > /etc/gtk-2.0/gdk-pixbuf.loaders ENVIRONMENT VARIABLES
See environ(5) for descriptions of the following environment variables that affect the execution of gdk-pixbuf-query-loaders: NLSPATH. GDK_PIXBUF_MODULEDIR Specify a different loader directory. The default gdk-pixbuf loader directory is /usr/lib/gtk-2.0/version/loaders. EXIT STATUS
The following exit values are returned: 0 Application exited successfully >0 Application exited with failure FILES
The following files are used by this application: /usr/bin/gdk-pixbuf-query-loaders The command-line executable for the application. /usr/lib/gtk-2.0/version/loaders Default gdk-pixbuf loader directory. /etc/gtk-2.0/gdk-pixbuf.loaders System configuration for gdk-pixbuf loaders /usr/share/gtk-doc/html/gdk-pixbuf Location of developer documentation ATTRIBUTES
See attributes(5) for descriptions of the following attributes: +-----------------------------+-----------------------------+ | ATTRIBUTE TYPE | ATTRIBUTE VALUE | +-----------------------------+-----------------------------+ |Availability |SUNWgnome-base-libs | +-----------------------------+-----------------------------+ |Interface stability |Committed | +-----------------------------+-----------------------------+ SEE ALSO
gdk-pixbuf-csource(1), gettext(1), glib-genmarshal(1), glib-gettextize(1), glib-mkenums(1), gobject-query(1), gtk-query-immodules-2.0(1), gtk-update-icon-cache(1), libgdk_pixbuf-2.0(3), attributes(5), gnome-interfaces(5) Latest version of the GNOME Desktop User Guide for your platform. NOTES
Written by Brian Cameron, Sun Microsystems Inc., 2003, 2006, 2007. SunOS 5.11 21 Nov 2007 gdk-pixbuf-query-loaders(1)
Man Page

Featured Tech Videos