summaryrefslogtreecommitdiff
path: root/docs/gdk-pixbuf-query-loaders.rst
blob: 8fc9e7ebab323688c1c2ad9760bb1d617c111793 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
.. _gdk-pixbuf-query-loaders(1):

========================
gdk-pixbuf-query-loaders
========================

-------------------------------------
GdkPixbuf loader registration utility
-------------------------------------

SYNOPSIS
--------
|   **gdk-pixbuf-query-loaders** [OPTIONS...] [MODULES..]

DESCRIPTION
-----------

``gdk-pixbuf-query-loaders`` collects information about loadable modules for
``gdk-pixbuf`` and writes it to the default cache file location, or to
``stdout``.

If called without arguments, it looks for modules in the ``gdk-pixbuf`` loader
directory.

If called with arguments, it looks for the specified modules. The arguments may
be absolute or relative paths.

Normally, the output of ``gdk-pixbuf-query-loaders`` is written to
``$libdir/gdk-pixbuf-2.0/2.10.0/loaders.cache``, where ``gdk-pixbuf`` looks for
it by default. If it is written to some other location, the environment variable
``GDK_PIXBUF_MODULE_FILE`` can be set to point ``gdk-pixbuf`` at the file.

OPTIONS
-------

``--update-cache``

  Writes the output to the default cache location instead of the standard
  output.

ENVIRONMENT
-----------

The environment variable ``GDK_PIXBUF_MODULEDIR`` can be used to specify a
different loader directory.

The default ``gdk-pixbuf`` loader directory is
``LIBDIR/gdk-pixbuf-2.0/VERSION/loaders``, where:

- ``LIBDIR`` is the libdir used when building ``gdk-pixbuf``
- ``VERSION`` is the ABI version for ``gdk-pixbuf`` loaders