Imported Upstream version 2.6.10

This commit is contained in:
Ari Pollak
2010-08-11 01:28:26 -04:00
parent d302c2222c
commit 04341c96c0
875 changed files with 164198 additions and 146469 deletions

View File

@ -1,4 +1,4 @@
# Makefile.in generated by automake 1.11 from Makefile.am.
# Makefile.in generated by automake 1.11.1 from Makefile.am.
# @configure_input@
# Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
@ -170,6 +170,9 @@ GNOME_VFS_CFLAGS = @GNOME_VFS_CFLAGS@
GNOME_VFS_LIBS = @GNOME_VFS_LIBS@
GOBJECT_QUERY = @GOBJECT_QUERY@
GREP = @GREP@
GTKDOC_CHECK = @GTKDOC_CHECK@
GTKDOC_MKPDF = @GTKDOC_MKPDF@
GTKDOC_REBASE = @GTKDOC_REBASE@
GTK_CFLAGS = @GTK_CFLAGS@
GTK_LIBS = @GTK_LIBS@
GTK_REQUIRED_VERSION = @GTK_REQUIRED_VERSION@
@ -235,6 +238,8 @@ PATHSEP = @PATHSEP@
PATH_SEPARATOR = @PATH_SEPARATOR@
PERL = @PERL@
PKG_CONFIG = @PKG_CONFIG@
PKG_CONFIG_LIBDIR = @PKG_CONFIG_LIBDIR@
PKG_CONFIG_PATH = @PKG_CONFIG_PATH@
PNG_CFLAGS = @PNG_CFLAGS@
PNG_LIBS = @PNG_LIBS@
POFILES = @POFILES@
@ -407,10 +412,10 @@ GTKDOC_LIBS = \
@GDK_PIXBUF_LIBS@
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_CC = $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_CC = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_LD = $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN = sh -c
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_LD = $(LIBTOOL) --tag=CC --mode=link $(CC) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS)
@GTK_DOC_USE_LIBTOOL_FALSE@GTKDOC_RUN =
@GTK_DOC_USE_LIBTOOL_TRUE@GTKDOC_RUN = $(LIBTOOL) --mode=execute
# We set GPATH here; this gives us semantics for GNU make
@ -426,7 +431,9 @@ EXTRA_DIST = $(content_files) $(HTML_IMAGES) $(DOC_MAIN_SGML_FILE) \
$(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt \
version.in
DOC_STAMPS = scan-build.stamp tmpl-build.stamp sgml-build.stamp html-build.stamp \
$(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp
pdf-build.stamp \
$(srcdir)/tmpl.stamp $(srcdir)/sgml.stamp $(srcdir)/html.stamp \
$(srcdir)/pdf.stamp
SCANOBJ_FILES = \
$(DOC_MODULE).args \
@ -441,6 +448,10 @@ REPORT_FILES = \
$(DOC_MODULE)-unused.txt
CLEANFILES = $(SCANOBJ_FILES) $(REPORT_FILES) $(DOC_STAMPS)
@ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_FALSE@HTML_BUILD_STAMP =
@ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_HTML_TRUE@HTML_BUILD_STAMP = html-build.stamp
@ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_FALSE@PDF_BUILD_STAMP =
@ENABLE_GTK_DOC_TRUE@@GTK_DOC_BUILD_PDF_TRUE@PDF_BUILD_STAMP = pdf-build.stamp
all: all-am
.SUFFIXES:
@ -636,10 +647,10 @@ uninstall-am: uninstall-local
uninstall-local
@ENABLE_GTK_DOC_TRUE@all-local: html-build.stamp
@ENABLE_GTK_DOC_TRUE@all-local: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
@ENABLE_GTK_DOC_FALSE@all-local:
docs: html-build.stamp
docs: $(HTML_BUILD_STAMP) $(PDF_BUILD_STAMP)
$(REPORT_FILES): sgml-build.stamp
@ -648,9 +659,12 @@ $(REPORT_FILES): sgml-build.stamp
scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
@echo 'gtk-doc: Scanning header files'
@-chmod -R u+w $(srcdir)
cd $(srcdir) && \
gtkdoc-scan --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --ignore-headers="$(IGNORE_HFILES)" $(SCAN_OPTIONS) $(EXTRA_HFILES)
if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \
@_source_dir='' ; for i in $(DOC_SOURCE_DIR) ; do \
_source_dir="$${_source_dir} --source-dir=$$i" ; \
done ; \
cd $(srcdir) && \
gtkdoc-scan --module=$(DOC_MODULE) --ignore-headers="$(IGNORE_HFILES)" $${_source_dir} $(SCAN_OPTIONS) $(EXTRA_HFILES)
@if grep -l '^..*$$' $(srcdir)/$(DOC_MODULE).types > /dev/null 2>&1 ; then \
CC="$(GTKDOC_CC)" LD="$(GTKDOC_LD)" RUN="$(GTKDOC_RUN)" CFLAGS="$(GTKDOC_CFLAGS) $(CFLAGS)" LDFLAGS="$(GTKDOC_LIBS) $(LDFLAGS)" gtkdoc-scangobj $(SCANGOBJ_OPTIONS) --module=$(DOC_MODULE) --output-dir=$(srcdir) ; \
else \
cd $(srcdir) ; \
@ -658,7 +672,7 @@ scan-build.stamp: $(HFILE_GLOB) $(CFILE_GLOB)
test -f $$i || touch $$i ; \
done \
fi
touch scan-build.stamp
@touch scan-build.stamp
$(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt: scan-build.stamp
@true
@ -668,23 +682,26 @@ $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)
tmpl-build.stamp: $(DOC_MODULE)-decl.txt $(SCANOBJ_FILES) $(DOC_MODULE)-sections.txt $(DOC_MODULE)-overrides.txt
@echo 'gtk-doc: Rebuilding template files'
@-chmod -R u+w $(srcdir)
cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS)
touch tmpl-build.stamp
@cd $(srcdir) && gtkdoc-mktmpl --module=$(DOC_MODULE) $(MKTMPL_OPTIONS)
@touch tmpl-build.stamp
tmpl.stamp: tmpl-build.stamp
@true
tmpl/*.sgml:
$(srcdir)/tmpl/*.sgml:
@true
#### xml ####
sgml-build.stamp: tmpl.stamp $(HFILE_GLOB) $(CFILE_GLOB) $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)
sgml-build.stamp: tmpl.stamp $(DOC_MODULE)-sections.txt $(srcdir)/tmpl/*.sgml $(expand_content_files)
@echo 'gtk-doc: Building XML'
@-chmod -R u+w $(srcdir)
cd $(srcdir) && \
gtkdoc-mkdb --module=$(DOC_MODULE) --source-dir=$(DOC_SOURCE_DIR) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $(MKDB_OPTIONS)
touch sgml-build.stamp
@_source_dir='' ; for i in $(DOC_SOURCE_DIR) ; do \
_source_dir="$${_source_dir} --source-dir=$$i" ; \
done ; \
cd $(srcdir) && \
gtkdoc-mkdb --module=$(DOC_MODULE) --output-format=xml --expand-content-files="$(expand_content_files)" --main-sgml-file=$(DOC_MAIN_SGML_FILE) $${_source_dir} $(MKDB_OPTIONS)
@touch sgml-build.stamp
sgml.stamp: sgml-build.stamp
@true
@ -694,18 +711,37 @@ sgml.stamp: sgml-build.stamp
html-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
@echo 'gtk-doc: Building HTML'
@-chmod -R u+w $(srcdir)
rm -rf $(srcdir)/html
mkdir $(srcdir)/html
mkhtml_options=""; \
@rm -rf $(srcdir)/html
@mkdir $(srcdir)/html
@mkhtml_options=""; \
gtkdoc-mkhtml 2>&1 --help | grep >/dev/null "\-\-path"; \
if test "$(?)" = "0"; then \
mkhtml_options=--path="$(srcdir)"; \
fi
cd $(srcdir)/html && gtkdoc-mkhtml $(mkhtml_options) $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html )
fi; \
cd $(srcdir)/html && gtkdoc-mkhtml $$mkhtml_options $(MKHTML_OPTIONS) $(DOC_MODULE) ../$(DOC_MAIN_SGML_FILE)
@test "x$(HTML_IMAGES)" = "x" || ( cd $(srcdir) && cp $(HTML_IMAGES) html )
@echo 'gtk-doc: Fixing cross-references'
cd $(srcdir) && gtkdoc-fixxref --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
touch html-build.stamp
@cd $(srcdir) && gtkdoc-fixxref --module=$(DOC_MODULE) --module-dir=html --html-dir=$(HTML_DIR) $(FIXXREF_OPTIONS)
@touch html-build.stamp
#### pdf ####
pdf-build.stamp: sgml.stamp $(DOC_MAIN_SGML_FILE) $(content_files)
@echo 'gtk-doc: Building PDF'
@-chmod -R u+w $(srcdir)
@rm -rf $(srcdir)/$(DOC_MODULE).pdf
@mkpdf_imgdirs=""; \
if test "x$(HTML_IMAGES)" != "x"; then \
for img in $(HTML_IMAGES); do \
part=`dirname $$img`; \
echo $$mkpdf_imgdirs | grep >/dev/null "\-\-imgdir=$$part "; \
if test $$? != 0; then \
mkpdf_imgdirs="$$mkpdf_imgdirs --imgdir=$$part"; \
fi; \
done; \
fi; \
cd $(srcdir) && gtkdoc-mkpdf --path="$(abs_srcdir)" $$mkpdf_imgdirs $(DOC_MODULE) $(DOC_MAIN_SGML_FILE) $(MKPDF_OPTIONS)
@touch pdf-build.stamp
##############
@ -715,14 +751,14 @@ clean-local:
distclean-local:
cd $(srcdir) && \
rm -rf xml $(REPORT_FILES) \
rm -rf xml $(REPORT_FILES) $(DOC_MODULE).pdf \
$(DOC_MODULE)-decl-list.txt $(DOC_MODULE)-decl.txt
maintainer-clean-local: clean
cd $(srcdir) && rm -rf xml html
install-data-local:
installfiles=`echo $(srcdir)/html/*`; \
@installfiles=`echo $(srcdir)/html/*`; \
if test "$$installfiles" = '$(srcdir)/html/*'; \
then echo '-- Nothing to install' ; \
else \
@ -742,12 +778,11 @@ install-data-local:
mv -f $${installdir}/$(DOC_MODULE).devhelp \
$${installdir}/$(DOC_MODULE)-$(DOC_MODULE_VERSION).devhelp; \
fi; \
! which gtkdoc-rebase >/dev/null 2>&1 || \
gtkdoc-rebase --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir} ; \
$(GTKDOC_REBASE) --relative --dest-dir=$(DESTDIR) --html-dir=$${installdir}; \
fi
uninstall-local:
if test -n "$(DOC_MODULE_VERSION)"; then \
@if test -n "$(DOC_MODULE_VERSION)"; then \
installdir="$(DESTDIR)$(TARGET_DIR)-$(DOC_MODULE_VERSION)"; \
else \
installdir="$(DESTDIR)$(TARGET_DIR)"; \
@ -764,16 +799,14 @@ uninstall-local:
dist-hook: dist-check-gtkdoc dist-hook-local
mkdir $(distdir)/tmpl
mkdir $(distdir)/xml
mkdir $(distdir)/html
-cp $(srcdir)/tmpl/*.sgml $(distdir)/tmpl
-cp $(srcdir)/xml/*.xml $(distdir)/xml
cp $(srcdir)/html/* $(distdir)/html
-cp $(srcdir)/$(DOC_MODULE).pdf $(distdir)/
-cp $(srcdir)/$(DOC_MODULE).types $(distdir)/
-cp $(srcdir)/$(DOC_MODULE)-sections.txt $(distdir)/
cd $(distdir) && rm -f $(DISTCLEANFILES)
! which gtkdoc-rebase >/dev/null 2>&1 || \
gtkdoc-rebase --online --relative --html-dir=$(distdir)/html
$(GTKDOC_REBASE) --online --relative --html-dir=$(distdir)/html
.PHONY : dist-hook-local docs

View File

@ -8,14 +8,8 @@
<link rel="up" href="libgimpthumb.html" title="Part I. GIMP Thumbnail Library">
<link rel="prev" href="libgimpthumb.html" title="Part I. GIMP Thumbnail Library">
<link rel="next" href="libgimpthumb-gimpthumb-utils.html" title="gimpthumb-utils">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="libgimpthumb.html" title="Part I. GIMP Thumbnail Library">
<link rel="index" href="libgimpthumb-index.html" title="Index">
<link rel="index" href="libgimpthumb-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
<link rel="index" href="libgimpthumb-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
<link rel="index" href="libgimpthumb-index-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
<link rel="index" href="libgimpthumb-index-deprecated.html" title="Index of deprecated symbols">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
@ -28,12 +22,12 @@
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#GimpThumbnail.synopsis" class="shortcut">Top</a>
 | 
<a href="#GimpThumbnail.description" class="shortcut">Description</a>
 | 
<a href="#GimpThumbnail.object-hierarchy" class="shortcut">Object Hierarchy</a>
 | 
<a href="#GimpThumbnail.properties" class="shortcut">Properties</a>
 | 
<a href="#GimpThumbnail.description" class="shortcut">Description</a>
 | 
<a href="#GimpThumbnail.object-hierarchy" class="shortcut">Object Hierarchy</a>
 | 
<a href="#GimpThumbnail.properties" class="shortcut">Properties</a>
</td></tr>
</table>
<div class="refentry" title="GimpThumbnail">
@ -47,122 +41,61 @@
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="GimpThumbnail.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a class="link" href="GimpThumbnail.html#GimpThumbnail-struct" title="GimpThumbnail">GimpThumbnail</a>;
<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> * <a class="link" href="GimpThumbnail.html#gimp-thumbnail-new" title="gimp_thumbnail_new ()">gimp_thumbnail_new</a> (void);
void <a class="link" href="GimpThumbnail.html#gimp-thumbnail-set-uri" title="gimp_thumbnail_set_uri ()">gimp_thumbnail_set_uri</a> (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail,
const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *uri);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GimpThumbnail.html#gimp-thumbnail-set-filename" title="gimp_thumbnail_set_filename ()">gimp_thumbnail_set_filename</a> (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail,
const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *filename,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **error);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GimpThumbnail.html#gimp-thumbnail-set-from-thumb" title="gimp_thumbnail_set_from_thumb ()">gimp_thumbnail_set_from_thumb</a> (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail,
const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *filename,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **error);
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbState" title="enum GimpThumbState">GimpThumbState</a> <a class="link" href="GimpThumbnail.html#gimp-thumbnail-peek-image" title="gimp_thumbnail_peek_image ()">gimp_thumbnail_peek_image</a> (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail);
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbState" title="enum GimpThumbState">GimpThumbState</a> <a class="link" href="GimpThumbnail.html#gimp-thumbnail-peek-thumb" title="gimp_thumbnail_peek_thumb ()">gimp_thumbnail_peek_thumb</a> (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail,
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize">GimpThumbSize</a> size);
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbState" title="enum GimpThumbState">GimpThumbState</a> <a class="link" href="GimpThumbnail.html#gimp-thumbnail-check-thumb" title="gimp_thumbnail_check_thumb ()">gimp_thumbnail_check_thumb</a> (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail,
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize">GimpThumbSize</a> size);
<a
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> * <a class="link" href="GimpThumbnail.html#gimp-thumbnail-load-thumb" title="gimp_thumbnail_load_thumb ()">gimp_thumbnail_load_thumb</a> (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail,
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize">GimpThumbSize</a> size,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **error);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GimpThumbnail.html#gimp-thumbnail-save-thumb" title="gimp_thumbnail_save_thumb ()">gimp_thumbnail_save_thumb</a> (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail,
<a
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> *pixbuf,
const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *software,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **error);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GimpThumbnail.html#gimp-thumbnail-save-thumb-local" title="gimp_thumbnail_save_thumb_local ()">gimp_thumbnail_save_thumb_local</a> (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail,
<a
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> *pixbuf,
const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *software,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **error);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GimpThumbnail.html#gimp-thumbnail-save-failure" title="gimp_thumbnail_save_failure ()">gimp_thumbnail_save_failure</a> (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail,
const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *software,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **error);
void <a class="link" href="GimpThumbnail.html#gimp-thumbnail-delete-failure" title="gimp_thumbnail_delete_failure ()">gimp_thumbnail_delete_failure</a> (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail);
void <a class="link" href="GimpThumbnail.html#gimp-thumbnail-delete-others" title="gimp_thumbnail_delete_others ()">gimp_thumbnail_delete_others</a> (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail,
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize">GimpThumbSize</a> size);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="GimpThumbnail.html#gimp-thumbnail-has-failed" title="gimp_thumbnail_has_failed ()">gimp_thumbnail_has_failed</a> (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail);
<pre class="synopsis"> <a class="link" href="GimpThumbnail.html#GimpThumbnail-struct" title="GimpThumbnail">GimpThumbnail</a>;
<a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="returnvalue">GimpThumbnail</span></a> * <a class="link" href="GimpThumbnail.html#gimp-thumbnail-new" title="gimp_thumbnail_new ()">gimp_thumbnail_new</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
<span class="returnvalue">void</span> <a class="link" href="GimpThumbnail.html#gimp-thumbnail-set-uri" title="gimp_thumbnail_set_uri ()">gimp_thumbnail_set_uri</a> (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GimpThumbnail.html#gimp-thumbnail-set-filename" title="gimp_thumbnail_set_filename ()">gimp_thumbnail_set_filename</a> (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GimpThumbnail.html#gimp-thumbnail-set-from-thumb" title="gimp_thumbnail_set_from_thumb ()">gimp_thumbnail_set_from_thumb</a> (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbState" title="enum GimpThumbState"><span class="returnvalue">GimpThumbState</span></a> <a class="link" href="GimpThumbnail.html#gimp-thumbnail-peek-image" title="gimp_thumbnail_peek_image ()">gimp_thumbnail_peek_image</a> (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>);
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbState" title="enum GimpThumbState"><span class="returnvalue">GimpThumbState</span></a> <a class="link" href="GimpThumbnail.html#gimp-thumbnail-peek-thumb" title="gimp_thumbnail_peek_thumb ()">gimp_thumbnail_peek_thumb</a> (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
<em class="parameter"><code><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>);
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbState" title="enum GimpThumbState"><span class="returnvalue">GimpThumbState</span></a> <a class="link" href="GimpThumbnail.html#gimp-thumbnail-check-thumb" title="gimp_thumbnail_check_thumb ()">gimp_thumbnail_check_thumb</a> (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
<em class="parameter"><code><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>);
<a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * <a class="link" href="GimpThumbnail.html#gimp-thumbnail-load-thumb" title="gimp_thumbnail_load_thumb ()">gimp_thumbnail_load_thumb</a> (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
<em class="parameter"><code><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GimpThumbnail.html#gimp-thumbnail-save-thumb" title="gimp_thumbnail_save_thumb ()">gimp_thumbnail_save_thumb</a> (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *software</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GimpThumbnail.html#gimp-thumbnail-save-thumb-local" title="gimp_thumbnail_save_thumb_local ()">gimp_thumbnail_save_thumb_local</a> (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *software</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GimpThumbnail.html#gimp-thumbnail-save-failure" title="gimp_thumbnail_save_failure ()">gimp_thumbnail_save_failure</a> (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *software</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GimpThumbnail.html#gimp-thumbnail-delete-failure" title="gimp_thumbnail_delete_failure ()">gimp_thumbnail_delete_failure</a> (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>);
<span class="returnvalue">void</span> <a class="link" href="GimpThumbnail.html#gimp-thumbnail-delete-others" title="gimp_thumbnail_delete_others ()">gimp_thumbnail_delete_others</a> (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
<em class="parameter"><code><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GimpThumbnail.html#gimp-thumbnail-has-failed" title="gimp_thumbnail_has_failed ()">gimp_thumbnail_has_failed</a> (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>);
</pre>
</div>
<div class="refsect1" title="Object Hierarchy">
<a name="GimpThumbnail.object-hierarchy"></a><h2>Object Hierarchy</h2>
<pre class="synopsis">
<a
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
>GObject</a>
<a href="/usr/share/gtk-doc/html/gobject/gobject-The-Base-Object-Type.html#GObject">GObject</a>
+----GimpThumbnail
</pre>
</div>
<div class="refsect1" title="Properties">
<a name="GimpThumbnail.properties"></a><h2>Properties</h2>
<pre class="synopsis">
"<a class="link" href="GimpThumbnail.html#GimpThumbnail--image-filesize" title='The "image-filesize" property'>image-filesize</a>" <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"
>gint64</a> : Read / Write
"<a class="link" href="GimpThumbnail.html#GimpThumbnail--image-height" title='The "image-height" property'>image-height</a>" <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
>gint</a> : Read / Write
"<a class="link" href="GimpThumbnail.html#GimpThumbnail--image-mimetype" title='The "image-mimetype" property'>image-mimetype</a>" <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write
"<a class="link" href="GimpThumbnail.html#GimpThumbnail--image-mtime" title='The "image-mtime" property'>image-mtime</a>" <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"
>gint64</a> : Read / Write
"<a class="link" href="GimpThumbnail.html#GimpThumbnail--image-num-layers" title='The "image-num-layers" property'>image-num-layers</a>" <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
>gint</a> : Read / Write
"<a class="link" href="GimpThumbnail.html#GimpThumbnail--image-state" title='The "image-state" property'>image-state</a>" <a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbState" title="enum GimpThumbState">GimpThumbState</a> : Read / Write
"<a class="link" href="GimpThumbnail.html#GimpThumbnail--image-type" title='The "image-type" property'>image-type</a>" <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write
"<a class="link" href="GimpThumbnail.html#GimpThumbnail--image-uri" title='The "image-uri" property'>image-uri</a>" <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write
"<a class="link" href="GimpThumbnail.html#GimpThumbnail--image-width" title='The "image-width" property'>image-width</a>" <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
>gint</a> : Read / Write
"<a class="link" href="GimpThumbnail.html#GimpThumbnail--thumb-state" title='The "thumb-state" property'>thumb-state</a>" <a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbState" title="enum GimpThumbState">GimpThumbState</a> : Read / Write
"<a class="link" href="GimpThumbnail.html#GimpThumbnail--image-filesize" title='The "image-filesize" property'>image-filesize</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> : Read / Write
"<a class="link" href="GimpThumbnail.html#GimpThumbnail--image-height" title='The "image-height" property'>image-height</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
"<a class="link" href="GimpThumbnail.html#GimpThumbnail--image-mimetype" title='The "image-mimetype" property'>image-mimetype</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
"<a class="link" href="GimpThumbnail.html#GimpThumbnail--image-mtime" title='The "image-mtime" property'>image-mtime</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> : Read / Write
"<a class="link" href="GimpThumbnail.html#GimpThumbnail--image-num-layers" title='The "image-num-layers" property'>image-num-layers</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
"<a class="link" href="GimpThumbnail.html#GimpThumbnail--image-state" title='The "image-state" property'>image-state</a>" <a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbState" title="enum GimpThumbState"><span class="type">GimpThumbState</span></a> : Read / Write
"<a class="link" href="GimpThumbnail.html#GimpThumbnail--image-type" title='The "image-type" property'>image-type</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
"<a class="link" href="GimpThumbnail.html#GimpThumbnail--image-uri" title='The "image-uri" property'>image-uri</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write
"<a class="link" href="GimpThumbnail.html#GimpThumbnail--image-width" title='The "image-width" property'>image-width</a>" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write
"<a class="link" href="GimpThumbnail.html#GimpThumbnail--thumb-state" title='The "thumb-state" property'>thumb-state</a>" <a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbState" title="enum GimpThumbState"><span class="type">GimpThumbState</span></a> : Read / Write
</pre>
</div>
<div class="refsect1" title="Description">
@ -183,10 +116,9 @@ using object properties.
<hr>
<div class="refsect2" title="gimp_thumbnail_new ()">
<a name="gimp-thumbnail-new"></a><h3>gimp_thumbnail_new ()</h3>
<pre class="programlisting"><a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> * gimp_thumbnail_new (void);</pre>
<p>
Creates a new <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object.</p>
<pre class="programlisting"><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="returnvalue">GimpThumbnail</span></a> * gimp_thumbnail_new (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
Creates a new <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
@ -200,28 +132,25 @@ Creates a new <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><s
<hr>
<div class="refsect2" title="gimp_thumbnail_set_uri ()">
<a name="gimp-thumbnail-set-uri"></a><h3>gimp_thumbnail_set_uri ()</h3>
<pre class="programlisting">void gimp_thumbnail_set_uri (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail,
const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *uri);</pre>
<pre class="programlisting"><span class="returnvalue">void</span> gimp_thumbnail_set_uri (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);</pre>
<p>
Sets the location of the image file associated with the <span class="type">thumbnail</span>.
</p>
<p>
All informations stored in the <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> are reset.</p>
<p>
All informations stored in the <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> are reset.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>thumbnail</code></em> :</span></p></td>
<td> a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
<td>a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
<td> an escaped URI
<td>an escaped URI
</td>
</tr>
</tbody>
@ -230,45 +159,34 @@ All informations stored in the <a class="link" href="GimpThumbnail.html" title="
<hr>
<div class="refsect2" title="gimp_thumbnail_set_filename ()">
<a name="gimp-thumbnail-set-filename"></a><h3>gimp_thumbnail_set_filename ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_thumbnail_set_filename (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail,
const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *filename,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **error);</pre>
<p>
Sets the location of the image file associated with the <span class="type">thumbnail</span>.</p>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_thumbnail_set_filename (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
Sets the location of the image file associated with the <span class="type">thumbnail</span>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>thumbnail</code></em> :</span></p></td>
<td> a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
<td>a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
<td> a local filename in the encoding of the filesystem
<td>a local filename in the encoding of the filesystem
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td> return location for possible errors
<td>return location for possible errors
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if the filename was successfully set,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
><code class="literal">FALSE</code></a> otherwise
<td> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the filename was successfully set,
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
</td>
</tr>
</tbody>
@ -277,15 +195,9 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FAL
<hr>
<div class="refsect2" title="gimp_thumbnail_set_from_thumb ()">
<a name="gimp-thumbnail-set-from-thumb"></a><h3>gimp_thumbnail_set_from_thumb ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_thumbnail_set_from_thumb (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail,
const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *filename,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **error);</pre>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_thumbnail_set_from_thumb (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
This function tries to load the thumbnail file pointed to by
<em class="parameter"><code>filename</code></em> and retrieves the URI of the original image file from
@ -294,34 +206,29 @@ thumbnail file.
</p>
<p>
This will only work with thumbnails from the global thumbnail
directory that contain a valid Thumb::URI tag.</p>
<p>
directory that contain a valid Thumb::URI tag.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>thumbnail</code></em> :</span></p></td>
<td> a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
<td>a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
<td> filename of a local thumbnail file
<td>filename of a local thumbnail file
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td> return location for possible errors
<td>return location for possible errors
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if the pixbuf could be loaded, <a
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
><code class="literal">FALSE</code></a> otherwise
<td> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the pixbuf could be loaded, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
</td>
</tr>
</tbody>
@ -330,18 +237,17 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FAL
<hr>
<div class="refsect2" title="gimp_thumbnail_peek_image ()">
<a name="gimp-thumbnail-peek-image"></a><h3>gimp_thumbnail_peek_image ()</h3>
<pre class="programlisting"><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbState" title="enum GimpThumbState">GimpThumbState</a> gimp_thumbnail_peek_image (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail);</pre>
<pre class="programlisting"><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbState" title="enum GimpThumbState"><span class="returnvalue">GimpThumbState</span></a> gimp_thumbnail_peek_image (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>);</pre>
<p>
Checks the image file associated with the <em class="parameter"><code>thumbnail</code></em> and updates
information such as state, filesize and modification time.</p>
<p>
information such as state, filesize and modification time.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>thumbnail</code></em> :</span></p></td>
<td> a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
<td>a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
</td>
</tr>
<tr>
@ -355,8 +261,8 @@ information such as state, filesize and modification time.</p>
<hr>
<div class="refsect2" title="gimp_thumbnail_peek_thumb ()">
<a name="gimp-thumbnail-peek-thumb"></a><h3>gimp_thumbnail_peek_thumb ()</h3>
<pre class="programlisting"><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbState" title="enum GimpThumbState">GimpThumbState</a> gimp_thumbnail_peek_thumb (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail,
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize">GimpThumbSize</a> size);</pre>
<pre class="programlisting"><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbState" title="enum GimpThumbState"><span class="returnvalue">GimpThumbState</span></a> gimp_thumbnail_peek_thumb (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
<em class="parameter"><code><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>);</pre>
<p>
Checks if a thumbnail file for the <em class="parameter"><code>thumbnail</code></em> exists. It doesn't
load the thumbnail image and thus cannot check if the thumbnail is
@ -366,20 +272,19 @@ valid and uptodate for the image file asosciated with the
<p>
If you want to check the thumbnail, either attempt to load it using
<a class="link" href="GimpThumbnail.html#gimp-thumbnail-load-thumb" title="gimp_thumbnail_load_thumb ()"><code class="function">gimp_thumbnail_load_thumb()</code></a>, or, if you don't need the resulting
thumbnail pixbuf, use <a class="link" href="GimpThumbnail.html#gimp-thumbnail-check-thumb" title="gimp_thumbnail_check_thumb ()"><code class="function">gimp_thumbnail_check_thumb()</code></a>.</p>
<p>
thumbnail pixbuf, use <a class="link" href="GimpThumbnail.html#gimp-thumbnail-check-thumb" title="gimp_thumbnail_check_thumb ()"><code class="function">gimp_thumbnail_check_thumb()</code></a>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>thumbnail</code></em> :</span></p></td>
<td> a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
<td>a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
<td> the preferred size of the thumbnail image
<td>the preferred size of the thumbnail image
</td>
</tr>
<tr>
@ -393,25 +298,24 @@ thumbnail pixbuf, use <a class="link" href="GimpThumbnail.html#gimp-thumbnail-ch
<hr>
<div class="refsect2" title="gimp_thumbnail_check_thumb ()">
<a name="gimp-thumbnail-check-thumb"></a><h3>gimp_thumbnail_check_thumb ()</h3>
<pre class="programlisting"><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbState" title="enum GimpThumbState">GimpThumbState</a> gimp_thumbnail_check_thumb (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail,
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize">GimpThumbSize</a> size);</pre>
<pre class="programlisting"><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbState" title="enum GimpThumbState"><span class="returnvalue">GimpThumbState</span></a> gimp_thumbnail_check_thumb (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
<em class="parameter"><code><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>);</pre>
<p>
Checks if a thumbnail file for the <em class="parameter"><code>thumbnail</code></em> exists, loads it and
verifies it is valid and uptodate for the image file asosciated
with the <em class="parameter"><code>thumbnail</code></em>.</p>
<p>
with the <em class="parameter"><code>thumbnail</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>thumbnail</code></em> :</span></p></td>
<td> a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
<td>a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
<td> the preferred size of the thumbnail image
<td>the preferred size of the thumbnail image
</td>
</tr>
<tr>
@ -427,13 +331,9 @@ with the <em class="parameter"><code>thumbnail</code></em>.</p>
<hr>
<div class="refsect2" title="gimp_thumbnail_load_thumb ()">
<a name="gimp-thumbnail-load-thumb"></a><h3>gimp_thumbnail_load_thumb ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> * gimp_thumbnail_load_thumb (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail,
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize">GimpThumbSize</a> size,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **error);</pre>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="returnvalue">GdkPixbuf</span></a> * gimp_thumbnail_load_thumb (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
<em class="parameter"><code><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
Attempts to load a thumbnail preview for the image associated with
<em class="parameter"><code>thumbnail</code></em>. Before you use this function you need need to set an
@ -447,32 +347,29 @@ specified <em class="parameter"><code>size</code></em>. It returns the pixbuf as
left to the caller to scale it to the desired size. The returned
pixbuf may also represent an outdated preview of the image file.
In order to verify if the preview is uptodate, you should check the
"thumb_state" property after calling this function.</p>
<p>
"thumb_state" property after calling this function.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>thumbnail</code></em> :</span></p></td>
<td> a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
<td>a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
<td> the preferred <a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> for the preview
<td>the preferred <a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> for the preview
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td> return location for possible errors
<td>return location for possible errors
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a preview pixbuf or <a
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> if no thumbnail was found
<td> a preview pixbuf or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no thumbnail was found
</td>
</tr>
</tbody>
@ -481,18 +378,10 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NUL
<hr>
<div class="refsect2" title="gimp_thumbnail_save_thumb ()">
<a name="gimp-thumbnail-save-thumb"></a><h3>gimp_thumbnail_save_thumb ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_thumbnail_save_thumb (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail,
<a
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> *pixbuf,
const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *software,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **error);</pre>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_thumbnail_save_thumb (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *software</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
Saves a preview thumbnail for the image associated with <em class="parameter"><code>thumbnail</code></em>.
to the global thumbnail repository.
@ -507,42 +396,35 @@ using the <em class="parameter"><code>thumbnail</code></em> object properties.
</p>
<p>
The image format type and the number of layers can optionally be
set in order to be stored with the preview image.</p>
<p>
set in order to be stored with the preview image.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>thumbnail</code></em> :</span></p></td>
<td> a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
<td>a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
<td> a <a
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
><span class="type">GdkPixbuf</span></a> representing the preview thumbnail
<td>a <a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> representing the preview thumbnail
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>software</code></em> :</span></p></td>
<td> a string describing the software saving the thumbnail
<td>a string describing the software saving the thumbnail
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td> return location for possible errors
<td>return location for possible errors
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if a thumbnail was successfully written,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
><code class="literal">FALSE</code></a> otherwise
<td> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a thumbnail was successfully written,
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
</td>
</tr>
</tbody>
@ -551,18 +433,10 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FAL
<hr>
<div class="refsect2" title="gimp_thumbnail_save_thumb_local ()">
<a name="gimp-thumbnail-save-thumb-local"></a><h3>gimp_thumbnail_save_thumb_local ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_thumbnail_save_thumb_local (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail,
<a
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
>GdkPixbuf</a> *pixbuf,
const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *software,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **error);</pre>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_thumbnail_save_thumb_local (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> *pixbuf</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *software</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
Saves a preview thumbnail for the image associated with <em class="parameter"><code>thumbnail</code></em>
to the local thumbnail repository. Local thumbnails have been added
@ -570,42 +444,35 @@ with version 0.7 of the spec.
</p>
<p>
Please see also <a class="link" href="GimpThumbnail.html#gimp-thumbnail-save-thumb" title="gimp_thumbnail_save_thumb ()"><code class="function">gimp_thumbnail_save_thumb()</code></a>. The notes made there
apply here as well.</p>
<p>
apply here as well.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>thumbnail</code></em> :</span></p></td>
<td> a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
<td>a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>pixbuf</code></em> :</span></p></td>
<td> a <a
href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"
><span class="type">GdkPixbuf</span></a> representing the preview thumbnail
<td>a <a href="/usr/share/gtk-doc/html/gdk-pixbuf/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> representing the preview thumbnail
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>software</code></em> :</span></p></td>
<td> a string describing the software saving the thumbnail
<td>a string describing the software saving the thumbnail
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td> return location for possible errors
<td>return location for possible errors
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if a thumbnail was successfully written,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
><code class="literal">FALSE</code></a> otherwise
<td> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a thumbnail was successfully written,
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
</td>
</tr>
@ -616,48 +483,37 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FAL
<hr>
<div class="refsect2" title="gimp_thumbnail_save_failure ()">
<a name="gimp-thumbnail-save-failure"></a><h3>gimp_thumbnail_save_failure ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_thumbnail_save_failure (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail,
const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *software,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **error);</pre>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_thumbnail_save_failure (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *software</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
Saves a failure thumbnail for the image associated with
<em class="parameter"><code>thumbnail</code></em>. This is an empty pixbuf that indicates that an attempt
to create a preview for the image file failed. It should be used to
prevent the software from further attempts to create this thumbnail.</p>
<p>
prevent the software from further attempts to create this thumbnail.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>thumbnail</code></em> :</span></p></td>
<td> a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
<td>a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>software</code></em> :</span></p></td>
<td> a string describing the software saving the thumbnail
<td>a string describing the software saving the thumbnail
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td> return location for possible errors
<td>return location for possible errors
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if a failure thumbnail was successfully written,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
><code class="literal">FALSE</code></a> otherwise
<td> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a failure thumbnail was successfully written,
<a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> otherwise
</td>
</tr>
</tbody>
@ -666,17 +522,16 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FAL
<hr>
<div class="refsect2" title="gimp_thumbnail_delete_failure ()">
<a name="gimp-thumbnail-delete-failure"></a><h3>gimp_thumbnail_delete_failure ()</h3>
<pre class="programlisting">void gimp_thumbnail_delete_failure (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail);</pre>
<pre class="programlisting"><span class="returnvalue">void</span> gimp_thumbnail_delete_failure (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>);</pre>
<p>
Removes a failure thumbnail if one exists. This function should be
used after a thumbnail has been successfully created.</p>
<p>
used after a thumbnail has been successfully created.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>thumbnail</code></em> :</span></p></td>
<td> a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
<td>a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
</td>
</tr></tbody>
</table></div>
@ -685,27 +540,26 @@ used after a thumbnail has been successfully created.</p>
<hr>
<div class="refsect2" title="gimp_thumbnail_delete_others ()">
<a name="gimp-thumbnail-delete-others"></a><h3>gimp_thumbnail_delete_others ()</h3>
<pre class="programlisting">void gimp_thumbnail_delete_others (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail,
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize">GimpThumbSize</a> size);</pre>
<pre class="programlisting"><span class="returnvalue">void</span> gimp_thumbnail_delete_others (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>,
<em class="parameter"><code><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>);</pre>
<p>
Removes all other thumbnails from the global thumbnail
repository. Only the thumbnail for <em class="parameter"><code>size</code></em> is not deleted. This
function should be used after a thumbnail has been successfully
updated. See the spec for a more detailed description on when to
delete thumbnails.</p>
<p>
delete thumbnails.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>thumbnail</code></em> :</span></p></td>
<td> a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
<td>a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
<td> the thumbnail size which should not be deleted
<td>the thumbnail size which should not be deleted
</td>
</tr>
</tbody>
@ -715,34 +569,29 @@ delete thumbnails.</p>
<hr>
<div class="refsect2" title="gimp_thumbnail_has_failed ()">
<a name="gimp-thumbnail-has-failed"></a><h3>gimp_thumbnail_has_failed ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_thumbnail_has_failed (<a class="link" href="GimpThumbnail.html" title="GimpThumbnail">GimpThumbnail</a> *thumbnail);</pre>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_thumbnail_has_failed (<em class="parameter"><code><a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> *thumbnail</code></em>);</pre>
<p>
Checks if a valid failure thumbnail for the given thumbnail exists
in the global thumbnail repository. This may be the case even if
<a class="link" href="GimpThumbnail.html#gimp-thumbnail-peek-thumb" title="gimp_thumbnail_peek_thumb ()"><code class="function">gimp_thumbnail_peek_thumb()</code></a> doesn't return <a class="link" href="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-FAILED--CAPS"><code class="literal">GIMP_THUMB_STATE_FAILED</code></a>
<a class="link" href="GimpThumbnail.html#gimp-thumbnail-peek-thumb" title="gimp_thumbnail_peek_thumb ()"><code class="function">gimp_thumbnail_peek_thumb()</code></a> doesn't return <a class="link" href="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-FAILED:CAPS"><code class="literal">GIMP_THUMB_STATE_FAILED</code></a>
since there might be a real thumbnail and a failure thumbnail for
the same image file.
</p>
<p>
The application should not attempt to create the thumbnail if a
valid failure thumbnail exists.</p>
<p>
valid failure thumbnail exists.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>thumbnail</code></em> :</span></p></td>
<td> a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
<td>a <a class="link" href="GimpThumbnail.html" title="GimpThumbnail"><span class="type">GimpThumbnail</span></a> object
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if a failure thumbnail exists or
<td> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if a failure thumbnail exists or
</td>
</tr>
@ -755,9 +604,7 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRU
<a name="GimpThumbnail.property-details"></a><h2>Property Details</h2>
<div class="refsect2" title='The "image-filesize" property'>
<a name="GimpThumbnail--image-filesize"></a><h3>The <code class="literal">"image-filesize"</code> property</h3>
<pre class="programlisting"> "image-filesize" <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"
>gint64</a> : Read / Write</pre>
<pre class="programlisting"> "image-filesize" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> : Read / Write</pre>
<p>Size of the image file in bytes.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
@ -765,9 +612,7 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"
<hr>
<div class="refsect2" title='The "image-height" property'>
<a name="GimpThumbnail--image-height"></a><h3>The <code class="literal">"image-height"</code> property</h3>
<pre class="programlisting"> "image-height" <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
>gint</a> : Read / Write</pre>
<pre class="programlisting"> "image-height" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
<p>Height of the image in pixels.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
@ -775,18 +620,14 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
<hr>
<div class="refsect2" title='The "image-mimetype" property'>
<a name="GimpThumbnail--image-mimetype"></a><h3>The <code class="literal">"image-mimetype"</code> property</h3>
<pre class="programlisting"> "image-mimetype" <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write</pre>
<pre class="programlisting"> "image-mimetype" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
<p>Image mimetype.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" title='The "image-mtime" property'>
<a name="GimpThumbnail--image-mtime"></a><h3>The <code class="literal">"image-mtime"</code> property</h3>
<pre class="programlisting"> "image-mtime" <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"
>gint64</a> : Read / Write</pre>
<pre class="programlisting"> "image-mtime" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> : Read / Write</pre>
<p>Modification time of the image file in seconds since the Epoch.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
@ -794,9 +635,7 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"
<hr>
<div class="refsect2" title='The "image-num-layers" property'>
<a name="GimpThumbnail--image-num-layers"></a><h3>The <code class="literal">"image-num-layers"</code> property</h3>
<pre class="programlisting"> "image-num-layers" <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
>gint</a> : Read / Write</pre>
<pre class="programlisting"> "image-num-layers" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
<p>The number of layers in the image.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
@ -804,34 +643,28 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
<hr>
<div class="refsect2" title='The "image-state" property'>
<a name="GimpThumbnail--image-state"></a><h3>The <code class="literal">"image-state"</code> property</h3>
<pre class="programlisting"> "image-state" <a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbState" title="enum GimpThumbState">GimpThumbState</a> : Read / Write</pre>
<pre class="programlisting"> "image-state" <a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbState" title="enum GimpThumbState"><span class="type">GimpThumbState</span></a> : Read / Write</pre>
<p>State of the image associated to the thumbnail object.</p>
<p>Default value: GIMP_THUMB_STATE_UNKNOWN</p>
</div>
<hr>
<div class="refsect2" title='The "image-type" property'>
<a name="GimpThumbnail--image-type"></a><h3>The <code class="literal">"image-type"</code> property</h3>
<pre class="programlisting"> "image-type" <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write</pre>
<pre class="programlisting"> "image-type" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
<p>String describing the type of the image format.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" title='The "image-uri" property'>
<a name="GimpThumbnail--image-uri"></a><h3>The <code class="literal">"image-uri"</code> property</h3>
<pre class="programlisting"> "image-uri" <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a>* : Read / Write</pre>
<pre class="programlisting"> "image-uri" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre>
<p>URI of the image file.</p>
<p>Default value: NULL</p>
</div>
<hr>
<div class="refsect2" title='The "image-width" property'>
<a name="GimpThumbnail--image-width"></a><h3>The <code class="literal">"image-width"</code> property</h3>
<pre class="programlisting"> "image-width" <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
>gint</a> : Read / Write</pre>
<pre class="programlisting"> "image-width" <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> : Read / Write</pre>
<p>Width of the image in pixels.</p>
<p>Allowed values: &gt;= 0</p>
<p>Default value: 0</p>
@ -839,7 +672,7 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
<hr>
<div class="refsect2" title='The "thumb-state" property'>
<a name="GimpThumbnail--thumb-state"></a><h3>The <code class="literal">"thumb-state"</code> property</h3>
<pre class="programlisting"> "thumb-state" <a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbState" title="enum GimpThumbState">GimpThumbState</a> : Read / Write</pre>
<pre class="programlisting"> "thumb-state" <a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbState" title="enum GimpThumbState"><span class="type">GimpThumbState</span></a> : Read / Write</pre>
<p>State of the thumbnail file.</p>
<p>Default value: GIMP_THUMB_STATE_UNKNOWN</p>
</div>
@ -847,6 +680,6 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.11</div>
Generated by GTK-Doc V1.15</div>
</body>
</html>
</html>

View File

@ -6,14 +6,8 @@
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
<link rel="home" href="index.html" title="GIMP Thumbnail Library Reference Manual">
<link rel="next" href="libgimpthumb.html" title="Part I. GIMP Thumbnail Library">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="libgimpthumb.html" title="Part I. GIMP Thumbnail Library">
<link rel="index" href="libgimpthumb-index.html" title="Index">
<link rel="index" href="libgimpthumb-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
<link rel="index" href="libgimpthumb-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
<link rel="index" href="libgimpthumb-index-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
<link rel="index" href="libgimpthumb-index-deprecated.html" title="Index of deprecated symbols">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<div class="book" title="GIMP Thumbnail Library Reference Manual">
@ -21,7 +15,7 @@
<div>
<div><table class="navigation" id="top" width="100%" cellpadding="2" cellspacing="0"><tr><th valign="middle"><p class="title">GIMP Thumbnail Library Reference Manual</p></th></tr></table></div>
<div><p class="releaseinfo">
for GIMP 2.6.7
for GIMP 2.6.10
</p></div>
</div>
@ -52,6 +46,6 @@
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.11</div>
Generated by GTK-Doc V1.15</div>
</body>
</html>
</html>

View File

@ -50,12 +50,31 @@
<ANCHOR id="libgimpthumb-gimpthumb-enums.description" href="libgimpthumb/libgimpthumb-gimpthumb-enums.html#libgimpthumb-gimpthumb-enums.description">
<ANCHOR id="libgimpthumb-gimpthumb-enums.details" href="libgimpthumb/libgimpthumb-gimpthumb-enums.html#libgimpthumb-gimpthumb-enums.details">
<ANCHOR id="GimpThumbFileType" href="libgimpthumb/libgimpthumb-gimpthumb-enums.html#GimpThumbFileType">
<ANCHOR id="GIMP-THUMB-FILE-TYPE-NONE:CAPS" href="libgimpthumb/libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-FILE-TYPE-NONE:CAPS">
<ANCHOR id="GIMP-THUMB-FILE-TYPE-REGULAR:CAPS" href="libgimpthumb/libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-FILE-TYPE-REGULAR:CAPS">
<ANCHOR id="GIMP-THUMB-FILE-TYPE-FOLDER:CAPS" href="libgimpthumb/libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-FILE-TYPE-FOLDER:CAPS">
<ANCHOR id="GIMP-THUMB-FILE-TYPE-SPECIAL:CAPS" href="libgimpthumb/libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-FILE-TYPE-SPECIAL:CAPS">
<ANCHOR id="GimpThumbSize" href="libgimpthumb/libgimpthumb-gimpthumb-enums.html#GimpThumbSize">
<ANCHOR id="GIMP-THUMB-SIZE-FAIL:CAPS" href="libgimpthumb/libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-SIZE-FAIL:CAPS">
<ANCHOR id="GIMP-THUMB-SIZE-NORMAL:CAPS" href="libgimpthumb/libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-SIZE-NORMAL:CAPS">
<ANCHOR id="GIMP-THUMB-SIZE-LARGE:CAPS" href="libgimpthumb/libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-SIZE-LARGE:CAPS">
<ANCHOR id="GimpThumbState" href="libgimpthumb/libgimpthumb-gimpthumb-enums.html#GimpThumbState">
<ANCHOR id="GIMP-THUMB-STATE-UNKNOWN:CAPS" href="libgimpthumb/libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-UNKNOWN:CAPS">
<ANCHOR id="GIMP-THUMB-STATE-REMOTE:CAPS" href="libgimpthumb/libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-REMOTE:CAPS">
<ANCHOR id="GIMP-THUMB-STATE-FOLDER:CAPS" href="libgimpthumb/libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-FOLDER:CAPS">
<ANCHOR id="GIMP-THUMB-STATE-SPECIAL:CAPS" href="libgimpthumb/libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-SPECIAL:CAPS">
<ANCHOR id="GIMP-THUMB-STATE-NOT-FOUND:CAPS" href="libgimpthumb/libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-NOT-FOUND:CAPS">
<ANCHOR id="GIMP-THUMB-STATE-EXISTS:CAPS" href="libgimpthumb/libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-EXISTS:CAPS">
<ANCHOR id="GIMP-THUMB-STATE-OLD:CAPS" href="libgimpthumb/libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-OLD:CAPS">
<ANCHOR id="GIMP-THUMB-STATE-FAILED:CAPS" href="libgimpthumb/libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-FAILED:CAPS">
<ANCHOR id="GIMP-THUMB-STATE-OK:CAPS" href="libgimpthumb/libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-OK:CAPS">
<ANCHOR id="libgimpthumb-gimpthumb-error" href="libgimpthumb/libgimpthumb-gimpthumb-error.html">
<ANCHOR id="libgimpthumb-gimpthumb-error.synopsis" href="libgimpthumb/libgimpthumb-gimpthumb-error.html#libgimpthumb-gimpthumb-error.synopsis">
<ANCHOR id="libgimpthumb-gimpthumb-error.description" href="libgimpthumb/libgimpthumb-gimpthumb-error.html#libgimpthumb-gimpthumb-error.description">
<ANCHOR id="libgimpthumb-gimpthumb-error.details" href="libgimpthumb/libgimpthumb-gimpthumb-error.html#libgimpthumb-gimpthumb-error.details">
<ANCHOR id="GimpThumbError" href="libgimpthumb/libgimpthumb-gimpthumb-error.html#GimpThumbError">
<ANCHOR id="GIMP-THUMB-ERROR--CAPS" href="libgimpthumb/libgimpthumb-gimpthumb-error.html#GIMP-THUMB-ERROR--CAPS">
<ANCHOR id="GIMP-THUMB-ERROR-OPEN:CAPS" href="libgimpthumb/libgimpthumb-gimpthumb-error.html#GIMP-THUMB-ERROR-OPEN:CAPS">
<ANCHOR id="GIMP-THUMB-ERROR-OPEN-ENOENT:CAPS" href="libgimpthumb/libgimpthumb-gimpthumb-error.html#GIMP-THUMB-ERROR-OPEN-ENOENT:CAPS">
<ANCHOR id="GIMP-THUMB-ERROR-MKDIR:CAPS" href="libgimpthumb/libgimpthumb-gimpthumb-error.html#GIMP-THUMB-ERROR-MKDIR:CAPS">
<ANCHOR id="GIMP-THUMB-ERROR:CAPS" href="libgimpthumb/libgimpthumb-gimpthumb-error.html#GIMP-THUMB-ERROR:CAPS">
<ANCHOR id="gimp-thumb-error-quark" href="libgimpthumb/libgimpthumb-gimpthumb-error.html#gimp-thumb-error-quark">

View File

@ -8,14 +8,8 @@
<link rel="up" href="libgimpthumb.html" title="Part I. GIMP Thumbnail Library">
<link rel="prev" href="libgimpthumb-gimpthumb-utils.html" title="gimpthumb-utils">
<link rel="next" href="libgimpthumb-gimpthumb-error.html" title="gimpthumb-error">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="libgimpthumb.html" title="Part I. GIMP Thumbnail Library">
<link rel="index" href="libgimpthumb-index.html" title="Index">
<link rel="index" href="libgimpthumb-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
<link rel="index" href="libgimpthumb-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
<link rel="index" href="libgimpthumb-index-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
<link rel="index" href="libgimpthumb-index-deprecated.html" title="Index of deprecated symbols">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
@ -28,8 +22,8 @@
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libgimpthumb-gimpthumb-enums.synopsis" class="shortcut">Top</a>
 | 
<a href="#libgimpthumb-gimpthumb-enums.description" class="shortcut">Description</a>
 | 
<a href="#libgimpthumb-gimpthumb-enums.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry" title="gimpthumb-enums">
@ -43,8 +37,7 @@
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="libgimpthumb-gimpthumb-enums.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
enum <a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbFileType" title="enum GimpThumbFileType">GimpThumbFileType</a>;
<pre class="synopsis">enum <a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbFileType" title="enum GimpThumbFileType">GimpThumbFileType</a>;
enum <a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize">GimpThumbSize</a>;
enum <a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbState" title="enum GimpThumbState">GimpThumbState</a>;
</pre>
@ -73,22 +66,22 @@ File types as returned by <a class="link" href="libgimpthumb-gimpthumb-utils.htm
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GIMP-THUMB-FILE-TYPE-NONE--CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_FILE_TYPE_NONE</code></span></p></td>
<td><p><a name="GIMP-THUMB-FILE-TYPE-NONE:CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_FILE_TYPE_NONE</code></span></p></td>
<td> file does not exist
</td>
</tr>
<tr>
<td><p><a name="GIMP-THUMB-FILE-TYPE-REGULAR--CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_FILE_TYPE_REGULAR</code></span></p></td>
<td><p><a name="GIMP-THUMB-FILE-TYPE-REGULAR:CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_FILE_TYPE_REGULAR</code></span></p></td>
<td> a regular file
</td>
</tr>
<tr>
<td><p><a name="GIMP-THUMB-FILE-TYPE-FOLDER--CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_FILE_TYPE_FOLDER</code></span></p></td>
<td><p><a name="GIMP-THUMB-FILE-TYPE-FOLDER:CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_FILE_TYPE_FOLDER</code></span></p></td>
<td> a directory
</td>
</tr>
<tr>
<td><p><a name="GIMP-THUMB-FILE-TYPE-SPECIAL--CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_FILE_TYPE_SPECIAL</code></span></p></td>
<td><p><a name="GIMP-THUMB-FILE-TYPE-SPECIAL:CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_FILE_TYPE_SPECIAL</code></span></p></td>
<td> a special file (device node, fifo, socket, ...)
</td>
</tr>
@ -112,18 +105,18 @@ Possible thumbnail sizes as defined by the Thumbnail Managaging Standard
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GIMP-THUMB-SIZE-FAIL--CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_SIZE_FAIL</code></span></p></td>
<td><p><a name="GIMP-THUMB-SIZE-FAIL:CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_SIZE_FAIL</code></span></p></td>
<td> special size used to indicate a thumbnail
creation failure
</td>
</tr>
<tr>
<td><p><a name="GIMP-THUMB-SIZE-NORMAL--CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_SIZE_NORMAL</code></span></p></td>
<td><p><a name="GIMP-THUMB-SIZE-NORMAL:CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_SIZE_NORMAL</code></span></p></td>
<td> normal thumbnail size (128 pixels)
</td>
</tr>
<tr>
<td><p><a name="GIMP-THUMB-SIZE-LARGE--CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_SIZE_LARGE</code></span></p></td>
<td><p><a name="GIMP-THUMB-SIZE-LARGE:CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_SIZE_LARGE</code></span></p></td>
<td> large thumbnail size (256 pixels)
</td>
</tr>
@ -153,47 +146,47 @@ Possible image and thumbnail file states used by libgimpthumb.
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GIMP-THUMB-STATE-UNKNOWN--CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_STATE_UNKNOWN</code></span></p></td>
<td><p><a name="GIMP-THUMB-STATE-UNKNOWN:CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_STATE_UNKNOWN</code></span></p></td>
<td> nothing is known about the file/thumbnail
</td>
</tr>
<tr>
<td><p><a name="GIMP-THUMB-STATE-REMOTE--CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_STATE_REMOTE</code></span></p></td>
<td><p><a name="GIMP-THUMB-STATE-REMOTE:CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_STATE_REMOTE</code></span></p></td>
<td> the file is on a remote file system
</td>
</tr>
<tr>
<td><p><a name="GIMP-THUMB-STATE-FOLDER--CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_STATE_FOLDER</code></span></p></td>
<td><p><a name="GIMP-THUMB-STATE-FOLDER:CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_STATE_FOLDER</code></span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><a name="GIMP-THUMB-STATE-SPECIAL--CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_STATE_SPECIAL</code></span></p></td>
<td><p><a name="GIMP-THUMB-STATE-SPECIAL:CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_STATE_SPECIAL</code></span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><a name="GIMP-THUMB-STATE-NOT-FOUND--CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_STATE_NOT_FOUND</code></span></p></td>
<td><p><a name="GIMP-THUMB-STATE-NOT-FOUND:CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_STATE_NOT_FOUND</code></span></p></td>
<td> the file/thumbnail doesn't exist
</td>
</tr>
<tr>
<td><p><a name="GIMP-THUMB-STATE-EXISTS--CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_STATE_EXISTS</code></span></p></td>
<td><p><a name="GIMP-THUMB-STATE-EXISTS:CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_STATE_EXISTS</code></span></p></td>
<td> the file/thumbnail exists
</td>
</tr>
<tr>
<td><p><a name="GIMP-THUMB-STATE-OLD--CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_STATE_OLD</code></span></p></td>
<td><p><a name="GIMP-THUMB-STATE-OLD:CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_STATE_OLD</code></span></p></td>
<td> the thumbnail may be outdated
</td>
</tr>
<tr>
<td><p><a name="GIMP-THUMB-STATE-FAILED--CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_STATE_FAILED</code></span></p></td>
<td><p><a name="GIMP-THUMB-STATE-FAILED:CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_STATE_FAILED</code></span></p></td>
<td> the thumbnail couldn't be created
</td>
</tr>
<tr>
<td><p><a name="GIMP-THUMB-STATE-OK--CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_STATE_OK</code></span></p></td>
<td><p><a name="GIMP-THUMB-STATE-OK:CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_STATE_OK</code></span></p></td>
<td> the thumbnail exists and matches the image
</td>
</tr>
@ -204,6 +197,6 @@ Possible image and thumbnail file states used by libgimpthumb.
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.11</div>
Generated by GTK-Doc V1.15</div>
</body>
</html>
</html>

View File

@ -8,14 +8,8 @@
<link rel="up" href="libgimpthumb.html" title="Part I. GIMP Thumbnail Library">
<link rel="prev" href="libgimpthumb-gimpthumb-enums.html" title="gimpthumb-enums">
<link rel="next" href="libgimpthumb-index.html" title="Index">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="libgimpthumb.html" title="Part I. GIMP Thumbnail Library">
<link rel="index" href="libgimpthumb-index.html" title="Index">
<link rel="index" href="libgimpthumb-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
<link rel="index" href="libgimpthumb-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
<link rel="index" href="libgimpthumb-index-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
<link rel="index" href="libgimpthumb-index-deprecated.html" title="Index of deprecated symbols">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
@ -28,8 +22,8 @@
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libgimpthumb-gimpthumb-error.synopsis" class="shortcut">Top</a>
 | 
<a href="#libgimpthumb-gimpthumb-error.description" class="shortcut">Description</a>
 | 
<a href="#libgimpthumb-gimpthumb-error.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry" title="gimpthumb-error">
@ -43,12 +37,9 @@
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="libgimpthumb-gimpthumb-error.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
enum <a class="link" href="libgimpthumb-gimpthumb-error.html#GimpThumbError" title="enum GimpThumbError">GimpThumbError</a>;
#define <a class="link" href="libgimpthumb-gimpthumb-error.html#GIMP-THUMB-ERROR--CAPS" title="GIMP_THUMB_ERROR">GIMP_THUMB_ERROR</a>
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"
>GQuark</a> <a class="link" href="libgimpthumb-gimpthumb-error.html#gimp-thumb-error-quark" title="gimp_thumb_error_quark ()">gimp_thumb_error_quark</a> (void);
<pre class="synopsis">enum <a class="link" href="libgimpthumb-gimpthumb-error.html#GimpThumbError" title="enum GimpThumbError">GimpThumbError</a>;
#define <a class="link" href="libgimpthumb-gimpthumb-error.html#GIMP-THUMB-ERROR:CAPS" title="GIMP_THUMB_ERROR">GIMP_THUMB_ERROR</a>
<a href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a> <a class="link" href="libgimpthumb-gimpthumb-error.html#gimp-thumb-error-quark" title="gimp_thumb_error_quark ()">gimp_thumb_error_quark</a> (<em class="parameter"><code><span class="type">void</span></code></em>);
</pre>
</div>
<div class="refsect1" title="Description">
@ -68,26 +59,24 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"
} GimpThumbError;
</pre>
<p>
These are the possible error codes used when a <a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
><span class="type">GError</span></a> is set by
These are the possible error codes used when a <a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> is set by
libgimpthumb.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><a name="GIMP-THUMB-ERROR-OPEN--CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_ERROR_OPEN</code></span></p></td>
<td><p><a name="GIMP-THUMB-ERROR-OPEN:CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_ERROR_OPEN</code></span></p></td>
<td> there was a problem opening the file
</td>
</tr>
<tr>
<td><p><a name="GIMP-THUMB-ERROR-OPEN-ENOENT--CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_ERROR_OPEN_ENOENT</code></span></p></td>
<td><p><a name="GIMP-THUMB-ERROR-OPEN-ENOENT:CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_ERROR_OPEN_ENOENT</code></span></p></td>
<td> the file doesn't exist
</td>
</tr>
<tr>
<td><p><a name="GIMP-THUMB-ERROR-MKDIR--CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_ERROR_MKDIR</code></span></p></td>
<td><p><a name="GIMP-THUMB-ERROR-MKDIR:CAPS"></a><span class="term"><code class="literal">GIMP_THUMB_ERROR_MKDIR</code></span></p></td>
<td> there was a problem creating a directory
</td>
</tr>
@ -96,7 +85,7 @@ libgimpthumb.
</div>
<hr>
<div class="refsect2" title="GIMP_THUMB_ERROR">
<a name="GIMP-THUMB-ERROR--CAPS"></a><h3>GIMP_THUMB_ERROR</h3>
<a name="GIMP-THUMB-ERROR:CAPS"></a><h3>GIMP_THUMB_ERROR</h3>
<pre class="programlisting">#define GIMP_THUMB_ERROR (gimp_thumb_error_quark ())
</pre>
<p>
@ -106,20 +95,15 @@ Identifier for the libgimpthumb error domain.
<hr>
<div class="refsect2" title="gimp_thumb_error_quark ()">
<a name="gimp-thumb-error-quark"></a><h3>gimp_thumb_error_quark ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"
>GQuark</a> gimp_thumb_error_quark (void);</pre>
<p>
This function is never called directly. Use <a class="link" href="libgimpthumb-gimpthumb-error.html#GIMP-THUMB-ERROR--CAPS" title="GIMP_THUMB_ERROR"><code class="function">GIMP_THUMB_ERROR()</code></a> instead.</p>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"><span class="returnvalue">GQuark</span></a> gimp_thumb_error_quark (<em class="parameter"><code><span class="type">void</span></code></em>);</pre>
<p>
This function is never called directly. Use <a class="link" href="libgimpthumb-gimpthumb-error.html#GIMP-THUMB-ERROR:CAPS" title="GIMP_THUMB_ERROR"><code class="function">GIMP_THUMB_ERROR()</code></a> instead.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> the <a
href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"
><span class="type">GQuark</span></a> that defines the GimpThumb error domain.
<td> the <a href="/usr/share/gtk-doc/html/glib/glib-Quarks.html#GQuark"><span class="type">GQuark</span></a> that defines the GimpThumb error domain.
</td>
</tr></tbody>
</table></div>
@ -128,6 +112,6 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Quarks.html#GQuark"
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.11</div>
Generated by GTK-Doc V1.15</div>
</body>
</html>
</html>

View File

@ -8,14 +8,8 @@
<link rel="up" href="libgimpthumb.html" title="Part I. GIMP Thumbnail Library">
<link rel="prev" href="GimpThumbnail.html" title="GimpThumbnail">
<link rel="next" href="libgimpthumb-gimpthumb-enums.html" title="gimpthumb-enums">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="libgimpthumb.html" title="Part I. GIMP Thumbnail Library">
<link rel="index" href="libgimpthumb-index.html" title="Index">
<link rel="index" href="libgimpthumb-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
<link rel="index" href="libgimpthumb-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
<link rel="index" href="libgimpthumb-index-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
<link rel="index" href="libgimpthumb-index-deprecated.html" title="Index of deprecated symbols">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
@ -28,8 +22,8 @@
</tr>
<tr><td colspan="5" class="shortcuts">
<a href="#libgimpthumb-gimpthumb-utils.synopsis" class="shortcut">Top</a>
 | 
<a href="#libgimpthumb-gimpthumb-utils.description" class="shortcut">Description</a>
 | 
<a href="#libgimpthumb-gimpthumb-utils.description" class="shortcut">Description</a>
</td></tr>
</table>
<div class="refentry" title="gimpthumb-utils">
@ -43,75 +37,28 @@
</tr></table></div>
<div class="refsynopsisdiv" title="Synopsis">
<a name="libgimpthumb-gimpthumb-utils.synopsis"></a><h2>Synopsis</h2>
<pre class="synopsis">
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimpthumb-gimpthumb-utils.html#gimp-thumb-init" title="gimp_thumb_init ()">gimp_thumb_init</a> (const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *creator,
const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *thumb_basedir);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> * <a class="link" href="libgimpthumb-gimpthumb-utils.html#gimp-thumb-find-thumb" title="gimp_thumb_find_thumb ()">gimp_thumb_find_thumb</a> (const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *uri,
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize">GimpThumbSize</a> *size);
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbFileType" title="enum GimpThumbFileType">GimpThumbFileType</a> <a class="link" href="libgimpthumb-gimpthumb-utils.html#gimp-thumb-file-test" title="gimp_thumb_file_test ()">gimp_thumb_file_test</a> (const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *filename,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"
>gint64</a> *mtime,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"
>gint64</a> *size,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
>gint</a> *err_no);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> * <a class="link" href="libgimpthumb-gimpthumb-utils.html#gimp-thumb-name-from-uri" title="gimp_thumb_name_from_uri ()">gimp_thumb_name_from_uri</a> (const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *uri,
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize">GimpThumbSize</a> size);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimpthumb-gimpthumb-utils.html#gimp-thumb-ensure-thumb-dir" title="gimp_thumb_ensure_thumb_dir ()">gimp_thumb_ensure_thumb_dir</a> (<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize">GimpThumbSize</a> size,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **error);
const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> * <a class="link" href="libgimpthumb-gimpthumb-utils.html#gimp-thumb-get-thumb-dir" title="gimp_thumb_get_thumb_dir ()">gimp_thumb_get_thumb_dir</a> (<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize">GimpThumbSize</a> size);
void <a class="link" href="libgimpthumb-gimpthumb-utils.html#gimp-thumbs-delete-for-uri" title="gimp_thumbs_delete_for_uri ()">gimp_thumbs_delete_for_uri</a> (const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *uri);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> * <a class="link" href="libgimpthumb-gimpthumb-utils.html#gimp-thumb-name-from-uri-local" title="gimp_thumb_name_from_uri_local ()">gimp_thumb_name_from_uri_local</a> (const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *uri,
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize">GimpThumbSize</a> size);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> <a class="link" href="libgimpthumb-gimpthumb-utils.html#gimp-thumb-ensure-thumb-dir-local" title="gimp_thumb_ensure_thumb_dir_local ()">gimp_thumb_ensure_thumb_dir_local</a> (const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *dirname,
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize">GimpThumbSize</a> size,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **error);
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> * <a class="link" href="libgimpthumb-gimpthumb-utils.html#gimp-thumb-get-thumb-dir-local" title="gimp_thumb_get_thumb_dir_local ()">gimp_thumb_get_thumb_dir_local</a> (const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *dirname,
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize">GimpThumbSize</a> size);
void <a class="link" href="libgimpthumb-gimpthumb-utils.html#gimp-thumbs-delete-for-uri-local" title="gimp_thumbs_delete_for_uri_local ()">gimp_thumbs_delete_for_uri_local</a> (const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *uri);
<pre class="synopsis"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimpthumb-gimpthumb-utils.html#gimp-thumb-init" title="gimp_thumb_init ()">gimp_thumb_init</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *creator</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *thumb_basedir</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpthumb-gimpthumb-utils.html#gimp-thumb-find-thumb" title="gimp_thumb_find_thumb ()">gimp_thumb_find_thumb</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>,
<em class="parameter"><code><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> *size</code></em>);
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbFileType" title="enum GimpThumbFileType"><span class="returnvalue">GimpThumbFileType</span></a> <a class="link" href="libgimpthumb-gimpthumb-utils.html#gimp-thumb-file-test" title="gimp_thumb_file_test ()">gimp_thumb_file_test</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> *mtime</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> *size</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *err_no</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpthumb-gimpthumb-utils.html#gimp-thumb-name-from-uri" title="gimp_thumb_name_from_uri ()">gimp_thumb_name_from_uri</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>,
<em class="parameter"><code><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimpthumb-gimpthumb-utils.html#gimp-thumb-ensure-thumb-dir" title="gimp_thumb_ensure_thumb_dir ()">gimp_thumb_ensure_thumb_dir</a> (<em class="parameter"><code><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpthumb-gimpthumb-utils.html#gimp-thumb-get-thumb-dir" title="gimp_thumb_get_thumb_dir ()">gimp_thumb_get_thumb_dir</a> (<em class="parameter"><code><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgimpthumb-gimpthumb-utils.html#gimp-thumbs-delete-for-uri" title="gimp_thumbs_delete_for_uri ()">gimp_thumbs_delete_for_uri</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpthumb-gimpthumb-utils.html#gimp-thumb-name-from-uri-local" title="gimp_thumb_name_from_uri_local ()">gimp_thumb_name_from_uri_local</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>,
<em class="parameter"><code><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="libgimpthumb-gimpthumb-utils.html#gimp-thumb-ensure-thumb-dir-local" title="gimp_thumb_ensure_thumb_dir_local ()">gimp_thumb_ensure_thumb_dir_local</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dirname</code></em>,
<em class="parameter"><code><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);
<a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="libgimpthumb-gimpthumb-utils.html#gimp-thumb-get-thumb-dir-local" title="gimp_thumb_get_thumb_dir_local ()">gimp_thumb_get_thumb_dir_local</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dirname</code></em>,
<em class="parameter"><code><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>);
<span class="returnvalue">void</span> <a class="link" href="libgimpthumb-gimpthumb-utils.html#gimp-thumbs-delete-for-uri-local" title="gimp_thumbs_delete_for_uri_local ()">gimp_thumbs_delete_for_uri_local</a> (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);
</pre>
</div>
<div class="refsect1" title="Description">
@ -123,14 +70,8 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
<a name="libgimpthumb-gimpthumb-utils.details"></a><h2>Details</h2>
<div class="refsect2" title="gimp_thumb_init ()">
<a name="gimp-thumb-init"></a><h3>gimp_thumb_init ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_thumb_init (const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *creator,
const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *thumb_basedir);</pre>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_thumb_init (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *creator</code></em>,
<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *thumb_basedir</code></em>);</pre>
<p>
This function initializes the thumbnail system. It must be called
before any other functions from libgimpthumb are used. You may call
@ -145,35 +86,28 @@ of the software that creates the thumbnails. It is used to handle
thumbnail creation failures. See the spec for more details.
</p>
<p>
Usually you will pass <a
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> for <em class="parameter"><code>thumb_basedir</code></em>. Thumbnails will
Usually you will pass <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for <em class="parameter"><code>thumb_basedir</code></em>. Thumbnails will
then be stored in the user's personal thumbnail directory as
defined in the spec. If you wish to use libgimpthumb to store
application-specific thumbnails, you can specify a different base
directory here.</p>
<p>
directory here.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>creator</code></em> :</span></p></td>
<td> an ASCII string that identifies the thumbnail creator
<td>an ASCII string that identifies the thumbnail creator
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>thumb_basedir</code></em> :</span></p></td>
<td> an absolute path or <a
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> to use the default
<td>an absolute path or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the default
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> if the library was successfully initialized.
<td> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the library was successfully initialized.
</td>
</tr>
</tbody>
@ -182,12 +116,8 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRU
<hr>
<div class="refsect2" title="gimp_thumb_find_thumb ()">
<a name="gimp-thumb-find-thumb"></a><h3>gimp_thumb_find_thumb ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> * gimp_thumb_find_thumb (const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *uri,
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize">GimpThumbSize</a> *size);</pre>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_thumb_find_thumb (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>,
<em class="parameter"><code><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> *size</code></em>);</pre>
<p>
This function attempts to locate a thumbnail for the given
<em class="parameter"><code>uri</code></em>. First it tries the size that is stored at <em class="parameter"><code>size</code></em>. If no
@ -202,28 +132,25 @@ there are any).
</p>
<p>
If a thumbnail is found, it's size is written to the variable
pointer to by <em class="parameter"><code>size</code></em> and the file location is returned.</p>
<p>
pointer to by <em class="parameter"><code>size</code></em> and the file location is returned.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
<td> an escaped URI
<td>an escaped URI
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
<td> pointer to a <a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a>
<td>pointer to a <a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a newly allocated string in the encoding of the
filesystem or <a
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> if no thumbnail for <em class="parameter"><code>uri</code></em> was found
filesystem or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if no thumbnail for <em class="parameter"><code>uri</code></em> was found
</td>
</tr>
</tbody>
@ -232,50 +159,41 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NUL
<hr>
<div class="refsect2" title="gimp_thumb_file_test ()">
<a name="gimp-thumb-file-test"></a><h3>gimp_thumb_file_test ()</h3>
<pre class="programlisting"><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbFileType" title="enum GimpThumbFileType">GimpThumbFileType</a> gimp_thumb_file_test (const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *filename,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"
>gint64</a> *mtime,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint64"
>gint64</a> *size,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gint"
>gint</a> *err_no);</pre>
<pre class="programlisting"><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbFileType" title="enum GimpThumbFileType"><span class="returnvalue">GimpThumbFileType</span></a> gimp_thumb_file_test (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *filename</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> *mtime</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint64"><span class="type">gint64</span></a> *size</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> *err_no</code></em>);</pre>
<p>
This is a convenience and portability wrapper around <code class="function">stat()</code>. It
checks if the given <em class="parameter"><code>filename</code></em> exists and returns modification time
and file size in 64bit integer values.</p>
<p>
and file size in 64bit integer values.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>filename</code></em> :</span></p></td>
<td> a filename in the encoding of the filesystem
<td>a filename in the encoding of the filesystem
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>mtime</code></em> :</span></p></td>
<td> return location for modification time
<td>return location for modification time
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
<td> return location for file size
<td>return location for file size
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>err_no</code></em> :</span></p></td>
<td> return location for system "errno"
<td>return location for system "errno"
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> The type of the file, or <a class="link" href="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-FILE-TYPE-NONE--CAPS"><span class="type">GIMP_THUMB_FILE_TYPE_NONE</span></a> if
<td> The type of the file, or <a class="link" href="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-FILE-TYPE-NONE:CAPS"><span class="type">GIMP_THUMB_FILE_TYPE_NONE</span></a> if
the file doesn't exist.
</td>
</tr>
@ -285,36 +203,29 @@ and file size in 64bit integer values.</p>
<hr>
<div class="refsect2" title="gimp_thumb_name_from_uri ()">
<a name="gimp-thumb-name-from-uri"></a><h3>gimp_thumb_name_from_uri ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> * gimp_thumb_name_from_uri (const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *uri,
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize">GimpThumbSize</a> size);</pre>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_thumb_name_from_uri (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>,
<em class="parameter"><code><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>);</pre>
<p>
Creates the name of the thumbnail file of the specified <em class="parameter"><code>size</code></em> that
belongs to an image file located at the given <em class="parameter"><code>uri</code></em>.</p>
<p>
belongs to an image file located at the given <em class="parameter"><code>uri</code></em>.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
<td> an escaped URI
<td>an escaped URI
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
<td> a <a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a>
<td>a <a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a newly allocated filename in the encoding of the
filesystem or <a
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> if <em class="parameter"><code>uri</code></em> points to the user's
filesystem or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>uri</code></em> points to the user's
thumbnail repository.
</td>
</tr>
@ -324,12 +235,8 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NUL
<hr>
<div class="refsect2" title="gimp_thumb_ensure_thumb_dir ()">
<a name="gimp-thumb-ensure-thumb-dir"></a><h3>gimp_thumb_ensure_thumb_dir ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_thumb_ensure_thumb_dir (<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize">GimpThumbSize</a> size,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **error);</pre>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_thumb_ensure_thumb_dir (<em class="parameter"><code><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
This function checks if the directory that is required to store
thumbnails for a particular <em class="parameter"><code>size</code></em> exist and attempts to create it
@ -338,29 +245,24 @@ if necessary.
<p>
You shouldn't have to call this function directly since
<a class="link" href="GimpThumbnail.html#gimp-thumbnail-save-thumb" title="gimp_thumbnail_save_thumb ()"><code class="function">gimp_thumbnail_save_thumb()</code></a> and <a class="link" href="GimpThumbnail.html#gimp-thumbnail-save-failure" title="gimp_thumbnail_save_failure ()"><code class="function">gimp_thumbnail_save_failure()</code></a> will
do this for you.</p>
<p>
do this for you.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
<td> a GimpThumbSize
<td>a GimpThumbSize
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td> return location for possible errors
<td>return location for possible errors
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> is the directory exists, <a
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
><code class="literal">FALSE</code></a> if it could not
<td> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is the directory exists, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it could not
be created
</td>
</tr>
@ -370,21 +272,18 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FAL
<hr>
<div class="refsect2" title="gimp_thumb_get_thumb_dir ()">
<a name="gimp-thumb-get-thumb-dir"></a><h3>gimp_thumb_get_thumb_dir ()</h3>
<pre class="programlisting">const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> * gimp_thumb_get_thumb_dir (<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize">GimpThumbSize</a> size);</pre>
<pre class="programlisting">const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_thumb_get_thumb_dir (<em class="parameter"><code><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>);</pre>
<p>
Retrieve the name of the thumbnail folder for a specific size. The
returned pointer will become invalid if <a class="link" href="libgimpthumb-gimpthumb-utils.html#gimp-thumb-init" title="gimp_thumb_init ()"><code class="function">gimp_thumb_init()</code></a> is used
again. It must not be changed or freed.</p>
<p>
again. It must not be changed or freed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
<td> a GimpThumbSize
<td>a GimpThumbSize
</td>
</tr>
<tr>
@ -398,19 +297,16 @@ again. It must not be changed or freed.</p>
<hr>
<div class="refsect2" title="gimp_thumbs_delete_for_uri ()">
<a name="gimp-thumbs-delete-for-uri"></a><h3>gimp_thumbs_delete_for_uri ()</h3>
<pre class="programlisting">void gimp_thumbs_delete_for_uri (const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *uri);</pre>
<pre class="programlisting"><span class="returnvalue">void</span> gimp_thumbs_delete_for_uri (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);</pre>
<p>
Deletes all thumbnails for the image file specified by <em class="parameter"><code>uri</code></em> from the
user's thumbnail repository.</p>
<p>
user's thumbnail repository.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
<td> an escaped URI
<td>an escaped URI
</td>
</tr></tbody>
</table></div>
@ -419,37 +315,30 @@ user's thumbnail repository.</p>
<hr>
<div class="refsect2" title="gimp_thumb_name_from_uri_local ()">
<a name="gimp-thumb-name-from-uri-local"></a><h3>gimp_thumb_name_from_uri_local ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> * gimp_thumb_name_from_uri_local (const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *uri,
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize">GimpThumbSize</a> size);</pre>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_thumb_name_from_uri_local (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>,
<em class="parameter"><code><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>);</pre>
<p>
Creates the name of a local thumbnail file of the specified <em class="parameter"><code>size</code></em>
that belongs to an image file located at the given <em class="parameter"><code>uri</code></em>. Local
thumbnails have been introduced with version 0.7 of the spec.</p>
<p>
thumbnails have been introduced with version 0.7 of the spec.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
<td> an escaped URI
<td>an escaped URI
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
<td> a <a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a>
<td>a <a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a>
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> a newly allocated filename in the encoding of the
filesystem or <a
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL--CAPS"
><code class="literal">NULL</code></a> if <em class="parameter"><code>uri</code></em> is a remote file or
filesystem or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>uri</code></em> is a remote file or
points to the user's thumbnail repository.
</td>
@ -461,15 +350,9 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NUL
<hr>
<div class="refsect2" title="gimp_thumb_ensure_thumb_dir_local ()">
<a name="gimp-thumb-ensure-thumb-dir-local"></a><h3>gimp_thumb_ensure_thumb_dir_local ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
>gboolean</a> gimp_thumb_ensure_thumb_dir_local (const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *dirname,
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize">GimpThumbSize</a> size,
<a
href="http://library.gnome.org/devel/glib/unstable/glib-Error-Reporting.html#GError"
>GError</a> **error);</pre>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gimp_thumb_ensure_thumb_dir_local (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dirname</code></em>,
<em class="parameter"><code><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>,
<em class="parameter"><code><a href="/usr/share/gtk-doc/html/glib/glib-Error-Reporting.html#GError"><span class="type">GError</span></a> **error</code></em>);</pre>
<p>
This function checks if the directory that is required to store
local thumbnails for a particular <em class="parameter"><code>size</code></em> exist and attempts to
@ -477,34 +360,24 @@ create it if necessary.
</p>
<p>
You shouldn't have to call this function directly since
<a class="link" href="GimpThumbnail.html#gimp-thumbnail-save-thumb-local" title="gimp_thumbnail_save_thumb_local ()"><code class="function">gimp_thumbnail_save_thumb_local()</code></a> will do this for you.</p>
<p>
<a class="link" href="GimpThumbnail.html#gimp-thumbnail-save-thumb-local" title="gimp_thumbnail_save_thumb_local ()"><code class="function">gimp_thumbnail_save_thumb_local()</code></a> will do this for you.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>dirname</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
<td> a GimpThumbSize
<td>a GimpThumbSize
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
<td> return location for possible errors
<td>return location for possible errors
</td>
</tr>
<tr>
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
<td> <a
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE--CAPS"
><code class="literal">TRUE</code></a> is the directory exists, <a
href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FALSE--CAPS"
><code class="literal">FALSE</code></a> if it could not
<td> <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> is the directory exists, <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a> if it could not
be created
</td>
@ -516,29 +389,19 @@ href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#FAL
<hr>
<div class="refsect2" title="gimp_thumb_get_thumb_dir_local ()">
<a name="gimp-thumb-get-thumb-dir-local"></a><h3>gimp_thumb_get_thumb_dir_local ()</h3>
<pre class="programlisting"><a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> * gimp_thumb_get_thumb_dir_local (const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *dirname,
<a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize">GimpThumbSize</a> size);</pre>
<pre class="programlisting"><a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gimp_thumb_get_thumb_dir_local (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *dirname</code></em>,
<em class="parameter"><code><a class="link" href="libgimpthumb-gimpthumb-enums.html#GimpThumbSize" title="enum GimpThumbSize"><span class="type">GimpThumbSize</span></a> size</code></em>);</pre>
<p>
Retrieve the name of the local thumbnail folder for a specific
size. Unlike <a class="link" href="libgimpthumb-gimpthumb-utils.html#gimp-thumb-get-thumb-dir" title="gimp_thumb_get_thumb_dir ()"><code class="function">gimp_thumb_get_thumb_dir()</code></a> the returned string is not
constant and should be free'd when it is not any longer needed.</p>
<p>
constant and should be free'd when it is not any longer needed.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody>
<tr>
<td><p><span class="term"><em class="parameter"><code>dirname</code></em> :</span></p></td>
<td>
</td>
</tr>
<tr>
<td><p><span class="term"><em class="parameter"><code>size</code></em> :</span></p></td>
<td> a GimpThumbSize
<td>a GimpThumbSize
</td>
</tr>
<tr>
@ -554,19 +417,16 @@ constant and should be free'd when it is not any longer needed.</p>
<hr>
<div class="refsect2" title="gimp_thumbs_delete_for_uri_local ()">
<a name="gimp-thumbs-delete-for-uri-local"></a><h3>gimp_thumbs_delete_for_uri_local ()</h3>
<pre class="programlisting">void gimp_thumbs_delete_for_uri_local (const <a
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
>gchar</a> *uri);</pre>
<pre class="programlisting"><span class="returnvalue">void</span> gimp_thumbs_delete_for_uri_local (<em class="parameter"><code>const <a href="/usr/share/gtk-doc/html/glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *uri</code></em>);</pre>
<p>
Deletes all thumbnails for the image file specified by <em class="parameter"><code>uri</code></em> from
the local thumbnail repository.</p>
<p>
the local thumbnail repository.
</p>
<div class="variablelist"><table border="0">
<col align="left" valign="top">
<tbody><tr>
<td><p><span class="term"><em class="parameter"><code>uri</code></em> :</span></p></td>
<td> an escaped URI
<td>an escaped URI
</td>
</tr></tbody>
</table></div>
@ -576,6 +436,6 @@ the local thumbnail repository.</p>
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.11</div>
Generated by GTK-Doc V1.15</div>
</body>
</html>
</html>

View File

@ -7,14 +7,8 @@
<link rel="home" href="index.html" title="GIMP Thumbnail Library Reference Manual">
<link rel="up" href="index.html" title="GIMP Thumbnail Library Reference Manual">
<link rel="prev" href="libgimpthumb-index-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="libgimpthumb.html" title="Part I. GIMP Thumbnail Library">
<link rel="index" href="libgimpthumb-index.html" title="Index">
<link rel="index" href="libgimpthumb-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
<link rel="index" href="libgimpthumb-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
<link rel="index" href="libgimpthumb-index-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
<link rel="index" href="libgimpthumb-index-deprecated.html" title="Index of deprecated symbols">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
@ -31,6 +25,6 @@
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.11</div>
Generated by GTK-Doc V1.15</div>
</body>
</html>
</html>

View File

@ -8,14 +8,8 @@
<link rel="up" href="index.html" title="GIMP Thumbnail Library Reference Manual">
<link rel="prev" href="libgimpthumb-index.html" title="Index">
<link rel="next" href="libgimpthumb-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="libgimpthumb.html" title="Part I. GIMP Thumbnail Library">
<link rel="index" href="libgimpthumb-index.html" title="Index">
<link rel="index" href="libgimpthumb-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
<link rel="index" href="libgimpthumb-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
<link rel="index" href="libgimpthumb-index-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
<link rel="index" href="libgimpthumb-index-deprecated.html" title="Index of deprecated symbols">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
@ -56,6 +50,6 @@
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.11</div>
Generated by GTK-Doc V1.15</div>
</body>
</html>
</html>

View File

@ -8,14 +8,8 @@
<link rel="up" href="index.html" title="GIMP Thumbnail Library Reference Manual">
<link rel="prev" href="libgimpthumb-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
<link rel="next" href="libgimpthumb-index-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="libgimpthumb.html" title="Part I. GIMP Thumbnail Library">
<link rel="index" href="libgimpthumb-index.html" title="Index">
<link rel="index" href="libgimpthumb-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
<link rel="index" href="libgimpthumb-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
<link rel="index" href="libgimpthumb-index-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
<link rel="index" href="libgimpthumb-index-deprecated.html" title="Index of deprecated symbols">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
@ -32,6 +26,6 @@
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.11</div>
Generated by GTK-Doc V1.15</div>
</body>
</html>
</html>

View File

@ -8,14 +8,8 @@
<link rel="up" href="index.html" title="GIMP Thumbnail Library Reference Manual">
<link rel="prev" href="libgimpthumb-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
<link rel="next" href="libgimpthumb-index-deprecated.html" title="Index of deprecated symbols">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="libgimpthumb.html" title="Part I. GIMP Thumbnail Library">
<link rel="index" href="libgimpthumb-index.html" title="Index">
<link rel="index" href="libgimpthumb-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
<link rel="index" href="libgimpthumb-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
<link rel="index" href="libgimpthumb-index-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
<link rel="index" href="libgimpthumb-index-deprecated.html" title="Index of deprecated symbols">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
@ -32,6 +26,6 @@
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.11</div>
Generated by GTK-Doc V1.15</div>
</body>
</html>
</html>

View File

@ -8,14 +8,8 @@
<link rel="up" href="index.html" title="GIMP Thumbnail Library Reference Manual">
<link rel="prev" href="libgimpthumb-gimpthumb-error.html" title="gimpthumb-error">
<link rel="next" href="libgimpthumb-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="libgimpthumb.html" title="Part I. GIMP Thumbnail Library">
<link rel="index" href="libgimpthumb-index.html" title="Index">
<link rel="index" href="libgimpthumb-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
<link rel="index" href="libgimpthumb-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
<link rel="index" href="libgimpthumb-index-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
<link rel="index" href="libgimpthumb-index-deprecated.html" title="Index of deprecated symbols">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
@ -97,7 +91,7 @@
</dt>
<dt>gimp_thumb_ensure_thumb_dir_local, <a class="indexterm" href="libgimpthumb-gimpthumb-utils.html#gimp-thumb-ensure-thumb-dir-local">gimp_thumb_ensure_thumb_dir_local ()</a>
</dt>
<dt>GIMP_THUMB_ERROR, <a class="indexterm" href="libgimpthumb-gimpthumb-error.html#GIMP-THUMB-ERROR--CAPS">GIMP_THUMB_ERROR</a>
<dt>GIMP_THUMB_ERROR, <a class="indexterm" href="libgimpthumb-gimpthumb-error.html#GIMP-THUMB-ERROR:CAPS">GIMP_THUMB_ERROR</a>
</dt>
<dt>gimp_thumb_error_quark, <a class="indexterm" href="libgimpthumb-gimpthumb-error.html#gimp-thumb-error-quark">gimp_thumb_error_quark ()</a>
</dt>
@ -120,6 +114,6 @@
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.11</div>
Generated by GTK-Doc V1.15</div>
</body>
</html>
</html>

View File

@ -55,7 +55,7 @@
<function name="enum GimpThumbSize" link="libgimpthumb-gimpthumb-enums.html#GimpThumbSize"/>
<function name="enum GimpThumbState" link="libgimpthumb-gimpthumb-enums.html#GimpThumbState"/>
<function name="enum GimpThumbError" link="libgimpthumb-gimpthumb-error.html#GimpThumbError"/>
<function name="GIMP_THUMB_ERROR" link="libgimpthumb-gimpthumb-error.html#GIMP-THUMB-ERROR--CAPS"/>
<function name="GIMP_THUMB_ERROR" link="libgimpthumb-gimpthumb-error.html#GIMP-THUMB-ERROR:CAPS"/>
<function name="gimp_thumb_error_quark ()" link="libgimpthumb-gimpthumb-error.html#gimp-thumb-error-quark"/>
</functions>
</book>

View File

@ -55,26 +55,26 @@
<keyword type="enum" name="enum GimpThumbSize" link="libgimpthumb-gimpthumb-enums.html#GimpThumbSize"/>
<keyword type="enum" name="enum GimpThumbState" link="libgimpthumb-gimpthumb-enums.html#GimpThumbState"/>
<keyword type="enum" name="enum GimpThumbError" link="libgimpthumb-gimpthumb-error.html#GimpThumbError"/>
<keyword type="macro" name="GIMP_THUMB_ERROR" link="libgimpthumb-gimpthumb-error.html#GIMP-THUMB-ERROR--CAPS"/>
<keyword type="macro" name="GIMP_THUMB_ERROR" link="libgimpthumb-gimpthumb-error.html#GIMP-THUMB-ERROR:CAPS"/>
<keyword type="function" name="gimp_thumb_error_quark ()" link="libgimpthumb-gimpthumb-error.html#gimp-thumb-error-quark"/>
<keyword type="constant" name="GIMP_THUMB_FILE_TYPE_NONE" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-FILE-TYPE-NONE--CAPS"/>
<keyword type="constant" name="GIMP_THUMB_FILE_TYPE_REGULAR" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-FILE-TYPE-REGULAR--CAPS"/>
<keyword type="constant" name="GIMP_THUMB_FILE_TYPE_FOLDER" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-FILE-TYPE-FOLDER--CAPS"/>
<keyword type="constant" name="GIMP_THUMB_FILE_TYPE_SPECIAL" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-FILE-TYPE-SPECIAL--CAPS"/>
<keyword type="constant" name="GIMP_THUMB_SIZE_FAIL" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-SIZE-FAIL--CAPS"/>
<keyword type="constant" name="GIMP_THUMB_SIZE_NORMAL" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-SIZE-NORMAL--CAPS"/>
<keyword type="constant" name="GIMP_THUMB_SIZE_LARGE" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-SIZE-LARGE--CAPS"/>
<keyword type="constant" name="GIMP_THUMB_STATE_UNKNOWN" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-UNKNOWN--CAPS"/>
<keyword type="constant" name="GIMP_THUMB_STATE_REMOTE" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-REMOTE--CAPS"/>
<keyword type="constant" name="GIMP_THUMB_STATE_FOLDER" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-FOLDER--CAPS"/>
<keyword type="constant" name="GIMP_THUMB_STATE_SPECIAL" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-SPECIAL--CAPS"/>
<keyword type="constant" name="GIMP_THUMB_STATE_NOT_FOUND" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-NOT-FOUND--CAPS"/>
<keyword type="constant" name="GIMP_THUMB_STATE_EXISTS" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-EXISTS--CAPS"/>
<keyword type="constant" name="GIMP_THUMB_STATE_OLD" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-OLD--CAPS"/>
<keyword type="constant" name="GIMP_THUMB_STATE_FAILED" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-FAILED--CAPS"/>
<keyword type="constant" name="GIMP_THUMB_STATE_OK" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-OK--CAPS"/>
<keyword type="constant" name="GIMP_THUMB_ERROR_OPEN" link="libgimpthumb-gimpthumb-error.html#GIMP-THUMB-ERROR-OPEN--CAPS"/>
<keyword type="constant" name="GIMP_THUMB_ERROR_OPEN_ENOENT" link="libgimpthumb-gimpthumb-error.html#GIMP-THUMB-ERROR-OPEN-ENOENT--CAPS"/>
<keyword type="constant" name="GIMP_THUMB_ERROR_MKDIR" link="libgimpthumb-gimpthumb-error.html#GIMP-THUMB-ERROR-MKDIR--CAPS"/>
<keyword type="constant" name="GIMP_THUMB_FILE_TYPE_NONE" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-FILE-TYPE-NONE:CAPS"/>
<keyword type="constant" name="GIMP_THUMB_FILE_TYPE_REGULAR" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-FILE-TYPE-REGULAR:CAPS"/>
<keyword type="constant" name="GIMP_THUMB_FILE_TYPE_FOLDER" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-FILE-TYPE-FOLDER:CAPS"/>
<keyword type="constant" name="GIMP_THUMB_FILE_TYPE_SPECIAL" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-FILE-TYPE-SPECIAL:CAPS"/>
<keyword type="constant" name="GIMP_THUMB_SIZE_FAIL" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-SIZE-FAIL:CAPS"/>
<keyword type="constant" name="GIMP_THUMB_SIZE_NORMAL" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-SIZE-NORMAL:CAPS"/>
<keyword type="constant" name="GIMP_THUMB_SIZE_LARGE" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-SIZE-LARGE:CAPS"/>
<keyword type="constant" name="GIMP_THUMB_STATE_UNKNOWN" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-UNKNOWN:CAPS"/>
<keyword type="constant" name="GIMP_THUMB_STATE_REMOTE" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-REMOTE:CAPS"/>
<keyword type="constant" name="GIMP_THUMB_STATE_FOLDER" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-FOLDER:CAPS"/>
<keyword type="constant" name="GIMP_THUMB_STATE_SPECIAL" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-SPECIAL:CAPS"/>
<keyword type="constant" name="GIMP_THUMB_STATE_NOT_FOUND" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-NOT-FOUND:CAPS"/>
<keyword type="constant" name="GIMP_THUMB_STATE_EXISTS" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-EXISTS:CAPS"/>
<keyword type="constant" name="GIMP_THUMB_STATE_OLD" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-OLD:CAPS"/>
<keyword type="constant" name="GIMP_THUMB_STATE_FAILED" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-FAILED:CAPS"/>
<keyword type="constant" name="GIMP_THUMB_STATE_OK" link="libgimpthumb-gimpthumb-enums.html#GIMP-THUMB-STATE-OK:CAPS"/>
<keyword type="constant" name="GIMP_THUMB_ERROR_OPEN" link="libgimpthumb-gimpthumb-error.html#GIMP-THUMB-ERROR-OPEN:CAPS"/>
<keyword type="constant" name="GIMP_THUMB_ERROR_OPEN_ENOENT" link="libgimpthumb-gimpthumb-error.html#GIMP-THUMB-ERROR-OPEN-ENOENT:CAPS"/>
<keyword type="constant" name="GIMP_THUMB_ERROR_MKDIR" link="libgimpthumb-gimpthumb-error.html#GIMP-THUMB-ERROR-MKDIR:CAPS"/>
</functions>
</book>

View File

@ -8,14 +8,8 @@
<link rel="up" href="index.html" title="GIMP Thumbnail Library Reference Manual">
<link rel="prev" href="index.html" title="GIMP Thumbnail Library Reference Manual">
<link rel="next" href="GimpThumbnail.html" title="GimpThumbnail">
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
<link rel="stylesheet" href="style.css" type="text/css">
<link rel="part" href="libgimpthumb.html" title="Part I. GIMP Thumbnail Library">
<link rel="index" href="libgimpthumb-index.html" title="Index">
<link rel="index" href="libgimpthumb-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
<link rel="index" href="libgimpthumb-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
<link rel="index" href="libgimpthumb-index-new-in-2-6.html" title="Index of new symbols in GIMP 2.6">
<link rel="index" href="libgimpthumb-index-deprecated.html" title="Index of deprecated symbols">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"><tr valign="middle">
@ -48,6 +42,6 @@
</div>
<div class="footer">
<hr>
Generated by GTK-Doc V1.11</div>
Generated by GTK-Doc V1.15</div>
</body>
</html>
</html>

View File

@ -1,13 +1,15 @@
.synopsis, .classsynopsis
{
background: #eeeeee;
border: solid 1px #aaaaaa;
/* tango:aluminium 1/2 */
background: #eeeeec;
border: solid 1px #d3d7cf;
padding: 0.5em;
}
.programlisting
{
background: #eeeeff;
border: solid 1px #aaaaff;
/* tango:sky blue 0/1 */
background: #e6f3ff;
border: solid 1px #729fcf;
padding: 0.5em;
}
.variablelist
@ -20,64 +22,63 @@
vertical-align: top;
}
/* this is needed so that the local anchors are displayed below the naviagtion */
@media screen {
sup a.footnote
{
position: relative;
top: 0em ! important;
}
div.refnamediv a[name], div.refsect1 a[name]
/* this is needed so that the local anchors are displayed below the naviagtion */
div.footnote a[name], div.refnamediv a[name], div.refsect1 a[name], div.refsect2 a[name], div.index a[name], div.glossary a[name], div.sect1 a[name]
{
position: relative;
top: -4.5em;
padding-top:4.5em;
}
/* this seems to be a bug in the xsl style sheets when generating indexes */
div.index div.index
{
top: 0em;
}
/* make space for the fixed navigation bar and add space at the bottom so that
* link targets appear somewhat close to top
*/
body
{
padding-top: 3.2em;
padding-bottom: 20em;
}
/* style and size the navigation bar */
table.navigation#top
{
background: #ffeeee;
border: solid 1px #ffaaaa;
position: fixed;
/* tango:scarlet red 0/1 */
background: #ffe6e6;
border: solid 1px #ef2929;
margin-top: 0;
margin-bottom: 0;
position: fixed;
top: 0;
left: 0;
height: 2em;
z-index: 1;
height: 3em;
z-index: 10;
}
.navigation a
.navigation a, .navigation a:visited
{
color: #770000;
/* tango:scarlet red 3 */
color: #a40000;
}
.navigation a:visited
.navigation a:hover
{
color: #550000;
/* tango:scarlet red 1 */
color: #ef2929;
}
td.shortcuts
{
color: #770000;
/* tango:scarlet red 1 */
color: #ef2929;
font-size: 80%;
white-space: nowrap;
}
div.refentry, div.chapter, div.reference, div.part, div.book, div.glossary, div.sect1, div.appendix, div.preface
{
position: relative;
top: 3em;
z-index: 0;
}
div.glossary, div.index
{
position: relative;
top: 2em;
z-index: 0;
}
div.refnamediv
{
margin-top: 2em;
}
body
{
padding-bottom: 20em;
}
}
@media print {
table.navigation {
@ -87,13 +88,14 @@
div.titlepage table.navigation {
visibility: visible;
display: table;
background: #ffeeee;
border: solid 1px #ffaaaa;
/* tango:scarlet red 0/1 */
background: #ffe6e6;
border: solid 1px #ef2929;
margin-top: 0;
margin-bottom: 0;
top: 0;
left: 0;
height: 2em;
height: 3em;
}
}
@ -102,7 +104,6 @@
font-size: 200%;
}
div.gallery-float
{
float: left;
@ -116,44 +117,48 @@ div.gallery-spacer
{
clear: both;
}
a
a, a:visited
{
text-decoration: none;
/* tango:sky blue 2 */
color: #3465a4;
}
a:hover
{
text-decoration: underline;
color: #FF0000;
/* tango:sky blue 1 */
color: #729fcf;
}
div.table table
{
border-collapse: collapse;
border-spacing: 0px;
border-style: solid;
border-color: #777777;
border-width: 1px;
/* tango:aluminium 3 */
border: solid 1px #babdb6;
}
div.table table td, div.table table th
{
border-style: solid;
border-color: #777777;
border-width: 1px;
/* tango:aluminium 3 */
border: solid 1px #babdb6;
padding: 3px;
vertical-align: top;
}
div.table table th
{
background-color: #eeeeee;
/* tango:aluminium 2 */
background-color: #d3d7cf;
}
hr
{
color: #777777;
background: #777777;
border: 0;
/* tango:aluminium 3 */
color: #babdb6;
background: #babdb6;
border: none 0px;
height: 1px;
clear: both;
}
@ -161,7 +166,100 @@ hr
.footer
{
padding-top: 3.5em;
color: #777777;
/* tango:aluminium 3 */
color: #babdb6;
text-align: center;
font-size: 80%;
}
.warning
{
/* tango:orange 0/1 */
background: #ffeed9;
border-color: #ffb04f;
}
.note
{
/* tango:chameleon 0/0.5 */
background: #d8ffb2;
border-color: #abf562;
}
.note, .warning
{
padding: 0.5em;
border-width: 1px;
border-style: solid;
}
.note h3, .warning h3
{
margin-top: 0.0em
}
.note p, .warning p
{
margin-bottom: 0.0em
}
/* blob links */
h2 .extralinks, h3 .extralinks
{
float: right;
/* tango:aluminium 3 */
color: #babdb6;
font-size: 80%;
font-weight: normal;
}
.annotation
{
/* tango:aluminium 5 */
color: #555753;
font-size: 80%;
font-weight: normal;
}
/* code listings */
.listing_code .programlisting .cbracket { color: #a40000; } /* tango: scarlet red 3 */
.listing_code .programlisting .comment { color: #a1a39d; } /* tango: aluminium 4 */
.listing_code .programlisting .function { color: #000000; font-weight: bold; }
.listing_code .programlisting .function a { color: #11326b; font-weight: bold; } /* tango: sky blue 4 */
.listing_code .programlisting .keyword { color: #4e9a06; } /* tango: chameleon 3 */
.listing_code .programlisting .linenum { color: #babdb6; } /* tango: aluminium 3 */
.listing_code .programlisting .normal { color: #000000; }
.listing_code .programlisting .number { color: #75507b; } /* tango: plum 2 */
.listing_code .programlisting .preproc { color: #204a87; } /* tango: sky blue 3 */
.listing_code .programlisting .string { color: #c17d11; } /* tango: chocolate 2 */
.listing_code .programlisting .type { color: #000000; }
.listing_code .programlisting .type a { color: #11326b; } /* tango: sky blue 4 */
.listing_code .programlisting .symbol { color: #ce5c00; } /* tango: orange 3 */
.listing_frame {
/* tango:sky blue 1 */
border: solid 1px #729fcf;
padding: 0px;
}
.listing_lines, .listing_code {
margin-top: 0px;
margin-bottom: 0px;
padding: 0.5em;
}
.listing_lines {
/* tango:sky blue 0.5 */
background: #a6c5e3;
/* tango:aluminium 6 */
color: #2e3436;
}
.listing_code {
/* tango:sky blue 0 */
background: #e6f3ff;
}
.listing_code .programlisting {
/* override from previous */
border: none 0px;
padding: 0px;
}
.listing_lines pre, .listing_code pre {
margin: 0px;
}

View File

@ -17,6 +17,9 @@ Enumerations used by libgimpthumb
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### SECTION Image ##### -->
<!-- ##### ENUM GimpThumbFileType ##### -->
<para>
File types as returned by gimp_thumb_file_test().

View File

@ -17,6 +17,9 @@ Error codes used by libgimpthumb
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### SECTION Image ##### -->
<!-- ##### ENUM GimpThumbError ##### -->
<para>
These are the possible error codes used when a #GError is set by
@ -39,6 +42,7 @@ Identifier for the libgimpthumb error domain.
</para>
@void:
@Returns:

View File

@ -17,6 +17,9 @@ Utility functions provided and used by libgimpthumb
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### SECTION Image ##### -->
<!-- ##### FUNCTION gimp_thumb_init ##### -->
<para>

View File

@ -17,6 +17,9 @@ The GimpThumbnail object
<!-- ##### SECTION Stability_Level ##### -->
<!-- ##### SECTION Image ##### -->
<!-- ##### STRUCT GimpThumbnail ##### -->
<para>
All members of #GimpThumbnail are private and should only be accessed
@ -79,6 +82,7 @@ using object properties.
</para>
@void:
@Returns:

View File

@ -1,18 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE indexdiv PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<indexdiv>
<indexdiv><title>G</title>
<indexentry><primaryie linkends="gimp-thumbnail-check-thumb"><link linkend="gimp-thumbnail-check-thumb">gimp_thumbnail_check_thumb</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumbnail-delete-failure"><link linkend="gimp-thumbnail-delete-failure">gimp_thumbnail_delete_failure</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumbnail-delete-others"><link linkend="gimp-thumbnail-delete-others">gimp_thumbnail_delete_others</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumbnail-has-failed"><link linkend="gimp-thumbnail-has-failed">gimp_thumbnail_has_failed</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumbnail-save-thumb-local"><link linkend="gimp-thumbnail-save-thumb-local">gimp_thumbnail_save_thumb_local</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumbs-delete-for-uri"><link linkend="gimp-thumbs-delete-for-uri">gimp_thumbs_delete_for_uri</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumbs-delete-for-uri-local"><link linkend="gimp-thumbs-delete-for-uri-local">gimp_thumbs_delete_for_uri_local</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumb-ensure-thumb-dir-local"><link linkend="gimp-thumb-ensure-thumb-dir-local">gimp_thumb_ensure_thumb_dir_local</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumb-get-thumb-dir-local"><link linkend="gimp-thumb-get-thumb-dir-local">gimp_thumb_get_thumb_dir_local</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumb-name-from-uri-local"><link linkend="gimp-thumb-name-from-uri-local">gimp_thumb_name_from_uri_local</link></primaryie></indexentry>
</indexdiv>
</indexdiv>

View File

@ -1,6 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE indexdiv PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<indexdiv>
</indexdiv>

View File

@ -1,50 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE indexdiv PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<indexdiv>
<indexdiv><title>G</title>
<indexentry><primaryie linkends="GimpThumbError"><link linkend="GimpThumbError">GimpThumbError</link></primaryie></indexentry>
<indexentry><primaryie linkends="GimpThumbFileType"><link linkend="GimpThumbFileType">GimpThumbFileType</link></primaryie></indexentry>
<indexentry><primaryie linkends="GimpThumbnail-struct"><link linkend="GimpThumbnail">GimpThumbnail</link></primaryie></indexentry>
<indexentry><primaryie linkends="GimpThumbnail--image-filesize"><link linkend="GimpThumbnail--image-filesize">GimpThumbnail:image-filesize</link></primaryie></indexentry>
<indexentry><primaryie linkends="GimpThumbnail--image-height"><link linkend="GimpThumbnail--image-height">GimpThumbnail:image-height</link></primaryie></indexentry>
<indexentry><primaryie linkends="GimpThumbnail--image-mimetype"><link linkend="GimpThumbnail--image-mimetype">GimpThumbnail:image-mimetype</link></primaryie></indexentry>
<indexentry><primaryie linkends="GimpThumbnail--image-mtime"><link linkend="GimpThumbnail--image-mtime">GimpThumbnail:image-mtime</link></primaryie></indexentry>
<indexentry><primaryie linkends="GimpThumbnail--image-num-layers"><link linkend="GimpThumbnail--image-num-layers">GimpThumbnail:image-num-layers</link></primaryie></indexentry>
<indexentry><primaryie linkends="GimpThumbnail--image-state"><link linkend="GimpThumbnail--image-state">GimpThumbnail:image-state</link></primaryie></indexentry>
<indexentry><primaryie linkends="GimpThumbnail--image-type"><link linkend="GimpThumbnail--image-type">GimpThumbnail:image-type</link></primaryie></indexentry>
<indexentry><primaryie linkends="GimpThumbnail--image-uri"><link linkend="GimpThumbnail--image-uri">GimpThumbnail:image-uri</link></primaryie></indexentry>
<indexentry><primaryie linkends="GimpThumbnail--image-width"><link linkend="GimpThumbnail--image-width">GimpThumbnail:image-width</link></primaryie></indexentry>
<indexentry><primaryie linkends="GimpThumbnail--thumb-state"><link linkend="GimpThumbnail--thumb-state">GimpThumbnail:thumb-state</link></primaryie></indexentry>
<indexentry><primaryie linkends="GimpThumbSize"><link linkend="GimpThumbSize">GimpThumbSize</link></primaryie></indexentry>
<indexentry><primaryie linkends="GimpThumbState"><link linkend="GimpThumbState">GimpThumbState</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumbnail-check-thumb"><link linkend="gimp-thumbnail-check-thumb">gimp_thumbnail_check_thumb</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumbnail-delete-failure"><link linkend="gimp-thumbnail-delete-failure">gimp_thumbnail_delete_failure</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumbnail-delete-others"><link linkend="gimp-thumbnail-delete-others">gimp_thumbnail_delete_others</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumbnail-has-failed"><link linkend="gimp-thumbnail-has-failed">gimp_thumbnail_has_failed</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumbnail-load-thumb"><link linkend="gimp-thumbnail-load-thumb">gimp_thumbnail_load_thumb</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumbnail-new"><link linkend="gimp-thumbnail-new">gimp_thumbnail_new</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumbnail-peek-image"><link linkend="gimp-thumbnail-peek-image">gimp_thumbnail_peek_image</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumbnail-peek-thumb"><link linkend="gimp-thumbnail-peek-thumb">gimp_thumbnail_peek_thumb</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumbnail-save-failure"><link linkend="gimp-thumbnail-save-failure">gimp_thumbnail_save_failure</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumbnail-save-thumb"><link linkend="gimp-thumbnail-save-thumb">gimp_thumbnail_save_thumb</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumbnail-save-thumb-local"><link linkend="gimp-thumbnail-save-thumb-local">gimp_thumbnail_save_thumb_local</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumbnail-set-filename"><link linkend="gimp-thumbnail-set-filename">gimp_thumbnail_set_filename</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumbnail-set-from-thumb"><link linkend="gimp-thumbnail-set-from-thumb">gimp_thumbnail_set_from_thumb</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumbnail-set-uri"><link linkend="gimp-thumbnail-set-uri">gimp_thumbnail_set_uri</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumbs-delete-for-uri"><link linkend="gimp-thumbs-delete-for-uri">gimp_thumbs_delete_for_uri</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumbs-delete-for-uri-local"><link linkend="gimp-thumbs-delete-for-uri-local">gimp_thumbs_delete_for_uri_local</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumb-ensure-thumb-dir"><link linkend="gimp-thumb-ensure-thumb-dir">gimp_thumb_ensure_thumb_dir</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumb-ensure-thumb-dir-local"><link linkend="gimp-thumb-ensure-thumb-dir-local">gimp_thumb_ensure_thumb_dir_local</link></primaryie></indexentry>
<indexentry><primaryie linkends="GIMP-THUMB-ERROR--CAPS"><link linkend="GIMP-THUMB-ERROR--CAPS">GIMP_THUMB_ERROR</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumb-error-quark"><link linkend="gimp-thumb-error-quark">gimp_thumb_error_quark</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumb-file-test"><link linkend="gimp-thumb-file-test">gimp_thumb_file_test</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumb-find-thumb"><link linkend="gimp-thumb-find-thumb">gimp_thumb_find_thumb</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumb-get-thumb-dir"><link linkend="gimp-thumb-get-thumb-dir">gimp_thumb_get_thumb_dir</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumb-get-thumb-dir-local"><link linkend="gimp-thumb-get-thumb-dir-local">gimp_thumb_get_thumb_dir_local</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumb-init"><link linkend="gimp-thumb-init">gimp_thumb_init</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumb-name-from-uri"><link linkend="gimp-thumb-name-from-uri">gimp_thumb_name_from_uri</link></primaryie></indexentry>
<indexentry><primaryie linkends="gimp-thumb-name-from-uri-local"><link linkend="gimp-thumb-name-from-uri-local">gimp_thumb_name_from_uri_local</link></primaryie></indexentry>
</indexdiv>
</indexdiv>

View File

@ -1,176 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<refentry id="libgimpthumb-gimpthumb-enums">
<refmeta>
<refentrytitle role="top_of_page" id="libgimpthumb-gimpthumb-enums.top_of_page">gimpthumb-enums</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPTHUMB Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>gimpthumb-enums</refname>
<refpurpose>Enumerations used by libgimpthumb</refpurpose>
</refnamediv>
<refsynopsisdiv id="libgimpthumb-gimpthumb-enums.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>
<synopsis>
enum <link linkend="GimpThumbFileType">GimpThumbFileType</link>;
enum <link linkend="GimpThumbSize">GimpThumbSize</link>;
enum <link linkend="GimpThumbState">GimpThumbState</link>;
</synopsis>
</refsynopsisdiv>
<refsect1 id="libgimpthumb-gimpthumb-enums.description" role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1 id="libgimpthumb-gimpthumb-enums.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="GimpThumbFileType" role="enum">
<title>enum GimpThumbFileType</title>
<indexterm zone="GimpThumbFileType"><primary sortas="GimpThumbFileType">GimpThumbFileType</primary></indexterm><programlisting>typedef enum
{
GIMP_THUMB_FILE_TYPE_NONE,
GIMP_THUMB_FILE_TYPE_REGULAR,
GIMP_THUMB_FILE_TYPE_FOLDER,
GIMP_THUMB_FILE_TYPE_SPECIAL
} GimpThumbFileType;
</programlisting>
<para>
File types as returned by <link linkend="gimp-thumb-file-test"><function>gimp_thumb_file_test()</function></link>.
</para><variablelist role="enum">
<varlistentry id="GIMP-THUMB-FILE-TYPE-NONE--CAPS" role="constant">
<term><literal>GIMP_THUMB_FILE_TYPE_NONE</literal></term>
<listitem><simpara> file does not exist
</simpara></listitem>
</varlistentry>
<varlistentry id="GIMP-THUMB-FILE-TYPE-REGULAR--CAPS" role="constant">
<term><literal>GIMP_THUMB_FILE_TYPE_REGULAR</literal></term>
<listitem><simpara> a regular file
</simpara></listitem>
</varlistentry>
<varlistentry id="GIMP-THUMB-FILE-TYPE-FOLDER--CAPS" role="constant">
<term><literal>GIMP_THUMB_FILE_TYPE_FOLDER</literal></term>
<listitem><simpara> a directory
</simpara></listitem>
</varlistentry>
<varlistentry id="GIMP-THUMB-FILE-TYPE-SPECIAL--CAPS" role="constant">
<term><literal>GIMP_THUMB_FILE_TYPE_SPECIAL</literal></term>
<listitem><simpara> a special file (device node, fifo, socket, ...)
</simpara></listitem>
</varlistentry>
</variablelist></refsect2>
<refsect2 id="GimpThumbSize" role="enum">
<title>enum GimpThumbSize</title>
<indexterm zone="GimpThumbSize"><primary sortas="GimpThumbSize">GimpThumbSize</primary></indexterm><programlisting>typedef enum
{
GIMP_THUMB_SIZE_FAIL = 0,
GIMP_THUMB_SIZE_NORMAL = 128,
GIMP_THUMB_SIZE_LARGE = 256
} GimpThumbSize;
</programlisting>
<para>
Possible thumbnail sizes as defined by the Thumbnail Managaging Standard
</para><variablelist role="enum">
<varlistentry id="GIMP-THUMB-SIZE-FAIL--CAPS" role="constant">
<term><literal>GIMP_THUMB_SIZE_FAIL</literal></term>
<listitem><simpara> special size used to indicate a thumbnail
creation failure
</simpara></listitem>
</varlistentry>
<varlistentry id="GIMP-THUMB-SIZE-NORMAL--CAPS" role="constant">
<term><literal>GIMP_THUMB_SIZE_NORMAL</literal></term>
<listitem><simpara> normal thumbnail size (128 pixels)
</simpara></listitem>
</varlistentry>
<varlistentry id="GIMP-THUMB-SIZE-LARGE--CAPS" role="constant">
<term><literal>GIMP_THUMB_SIZE_LARGE</literal></term>
<listitem><simpara> large thumbnail size (256 pixels)
</simpara></listitem>
</varlistentry>
</variablelist></refsect2>
<refsect2 id="GimpThumbState" role="enum">
<title>enum GimpThumbState</title>
<indexterm zone="GimpThumbState"><primary sortas="GimpThumbState">GimpThumbState</primary></indexterm><programlisting>typedef enum
{
GIMP_THUMB_STATE_UNKNOWN,
GIMP_THUMB_STATE_REMOTE,
GIMP_THUMB_STATE_FOLDER,
GIMP_THUMB_STATE_SPECIAL,
GIMP_THUMB_STATE_NOT_FOUND,
GIMP_THUMB_STATE_EXISTS,
GIMP_THUMB_STATE_OLD,
GIMP_THUMB_STATE_FAILED,
GIMP_THUMB_STATE_OK
} GimpThumbState;
</programlisting>
<para>
Possible image and thumbnail file states used by libgimpthumb.
</para><variablelist role="enum">
<varlistentry id="GIMP-THUMB-STATE-UNKNOWN--CAPS" role="constant">
<term><literal>GIMP_THUMB_STATE_UNKNOWN</literal></term>
<listitem><simpara> nothing is known about the file/thumbnail
</simpara></listitem>
</varlistentry>
<varlistentry id="GIMP-THUMB-STATE-REMOTE--CAPS" role="constant">
<term><literal>GIMP_THUMB_STATE_REMOTE</literal></term>
<listitem><simpara> the file is on a remote file system
</simpara></listitem>
</varlistentry>
<varlistentry id="GIMP-THUMB-STATE-FOLDER--CAPS" role="constant">
<term><literal>GIMP_THUMB_STATE_FOLDER</literal></term>
<listitem><simpara>
</simpara></listitem>
</varlistentry>
<varlistentry id="GIMP-THUMB-STATE-SPECIAL--CAPS" role="constant">
<term><literal>GIMP_THUMB_STATE_SPECIAL</literal></term>
<listitem><simpara>
</simpara></listitem>
</varlistentry>
<varlistentry id="GIMP-THUMB-STATE-NOT-FOUND--CAPS" role="constant">
<term><literal>GIMP_THUMB_STATE_NOT_FOUND</literal></term>
<listitem><simpara> the file/thumbnail doesn't exist
</simpara></listitem>
</varlistentry>
<varlistentry id="GIMP-THUMB-STATE-EXISTS--CAPS" role="constant">
<term><literal>GIMP_THUMB_STATE_EXISTS</literal></term>
<listitem><simpara> the file/thumbnail exists
</simpara></listitem>
</varlistentry>
<varlistentry id="GIMP-THUMB-STATE-OLD--CAPS" role="constant">
<term><literal>GIMP_THUMB_STATE_OLD</literal></term>
<listitem><simpara> the thumbnail may be outdated
</simpara></listitem>
</varlistentry>
<varlistentry id="GIMP-THUMB-STATE-FAILED--CAPS" role="constant">
<term><literal>GIMP_THUMB_STATE_FAILED</literal></term>
<listitem><simpara> the thumbnail couldn't be created
</simpara></listitem>
</varlistentry>
<varlistentry id="GIMP-THUMB-STATE-OK--CAPS" role="constant">
<term><literal>GIMP_THUMB_STATE_OK</literal></term>
<listitem><simpara> the thumbnail exists and matches the image
</simpara></listitem>
</varlistentry>
</variablelist></refsect2>
</refsect1>
</refentry>

View File

@ -1,95 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<refentry id="libgimpthumb-gimpthumb-error">
<refmeta>
<refentrytitle role="top_of_page" id="libgimpthumb-gimpthumb-error.top_of_page">gimpthumb-error</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPTHUMB Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>gimpthumb-error</refname>
<refpurpose>Error codes used by libgimpthumb</refpurpose>
</refnamediv>
<refsynopsisdiv id="libgimpthumb-gimpthumb-error.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>
<synopsis>
enum <link linkend="GimpThumbError">GimpThumbError</link>;
#define <link linkend="GIMP-THUMB-ERROR--CAPS">GIMP_THUMB_ERROR</link>
<link linkend="GQuark">GQuark</link> <link linkend="gimp-thumb-error-quark">gimp_thumb_error_quark</link> (void);
</synopsis>
</refsynopsisdiv>
<refsect1 id="libgimpthumb-gimpthumb-error.description" role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1 id="libgimpthumb-gimpthumb-error.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="GimpThumbError" role="enum">
<title>enum GimpThumbError</title>
<indexterm zone="GimpThumbError"><primary sortas="GimpThumbError">GimpThumbError</primary></indexterm><programlisting>typedef enum
{
GIMP_THUMB_ERROR_OPEN, /* open failed */
GIMP_THUMB_ERROR_OPEN_ENOENT, /* file does not exist */
GIMP_THUMB_ERROR_MKDIR /* mkdir failed */
} GimpThumbError;
</programlisting>
<para>
These are the possible error codes used when a <link linkend="GError"><type>GError</type></link> is set by
libgimpthumb.
</para><variablelist role="enum">
<varlistentry id="GIMP-THUMB-ERROR-OPEN--CAPS" role="constant">
<term><literal>GIMP_THUMB_ERROR_OPEN</literal></term>
<listitem><simpara> there was a problem opening the file
</simpara></listitem>
</varlistentry>
<varlistentry id="GIMP-THUMB-ERROR-OPEN-ENOENT--CAPS" role="constant">
<term><literal>GIMP_THUMB_ERROR_OPEN_ENOENT</literal></term>
<listitem><simpara> the file doesn't exist
</simpara></listitem>
</varlistentry>
<varlistentry id="GIMP-THUMB-ERROR-MKDIR--CAPS" role="constant">
<term><literal>GIMP_THUMB_ERROR_MKDIR</literal></term>
<listitem><simpara> there was a problem creating a directory
</simpara></listitem>
</varlistentry>
</variablelist></refsect2>
<refsect2 id="GIMP-THUMB-ERROR--CAPS" role="macro">
<title>GIMP_THUMB_ERROR</title>
<indexterm zone="GIMP-THUMB-ERROR--CAPS"><primary sortas="GIMP_THUMB_ERROR">GIMP_THUMB_ERROR</primary></indexterm><programlisting>#define GIMP_THUMB_ERROR (gimp_thumb_error_quark ())
</programlisting>
<para>
Identifier for the libgimpthumb error domain.
</para></refsect2>
<refsect2 id="gimp-thumb-error-quark" role="function">
<title>gimp_thumb_error_quark ()</title>
<indexterm zone="gimp-thumb-error-quark"><primary sortas="gimp_thumb_error_quark">gimp_thumb_error_quark</primary></indexterm><programlisting><link linkend="GQuark">GQuark</link> gimp_thumb_error_quark (void);</programlisting>
<para>
This function is never called directly. Use <link linkend="GIMP-THUMB-ERROR--CAPS"><function>GIMP_THUMB_ERROR()</function></link> instead.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> the <link linkend="GQuark"><type>GQuark</type></link> that defines the GimpThumb error domain.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
</refsect1>
</refentry>

View File

@ -1,316 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<refentry id="libgimpthumb-gimpthumb-utils">
<refmeta>
<refentrytitle role="top_of_page" id="libgimpthumb-gimpthumb-utils.top_of_page">gimpthumb-utils</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPTHUMB Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>gimpthumb-utils</refname>
<refpurpose>Utility functions provided and used by libgimpthumb</refpurpose>
</refnamediv>
<refsynopsisdiv id="libgimpthumb-gimpthumb-utils.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>
<synopsis>
<link linkend="gboolean">gboolean</link> <link linkend="gimp-thumb-init">gimp_thumb_init</link> (const <link linkend="gchar">gchar</link> *creator,
const <link linkend="gchar">gchar</link> *thumb_basedir);
<link linkend="gchar">gchar</link> * <link linkend="gimp-thumb-find-thumb">gimp_thumb_find_thumb</link> (const <link linkend="gchar">gchar</link> *uri,
<link linkend="GimpThumbSize">GimpThumbSize</link> *size);
<link linkend="GimpThumbFileType">GimpThumbFileType</link> <link linkend="gimp-thumb-file-test">gimp_thumb_file_test</link> (const <link linkend="gchar">gchar</link> *filename,
<link linkend="gint64">gint64</link> *mtime,
<link linkend="gint64">gint64</link> *size,
<link linkend="gint">gint</link> *err_no);
<link linkend="gchar">gchar</link> * <link linkend="gimp-thumb-name-from-uri">gimp_thumb_name_from_uri</link> (const <link linkend="gchar">gchar</link> *uri,
<link linkend="GimpThumbSize">GimpThumbSize</link> size);
<link linkend="gboolean">gboolean</link> <link linkend="gimp-thumb-ensure-thumb-dir">gimp_thumb_ensure_thumb_dir</link> (<link linkend="GimpThumbSize">GimpThumbSize</link> size,
<link linkend="GError">GError</link> **error);
const <link linkend="gchar">gchar</link> * <link linkend="gimp-thumb-get-thumb-dir">gimp_thumb_get_thumb_dir</link> (<link linkend="GimpThumbSize">GimpThumbSize</link> size);
<link linkend="void">void</link> <link linkend="gimp-thumbs-delete-for-uri">gimp_thumbs_delete_for_uri</link> (const <link linkend="gchar">gchar</link> *uri);
<link linkend="gchar">gchar</link> * <link linkend="gimp-thumb-name-from-uri-local">gimp_thumb_name_from_uri_local</link> (const <link linkend="gchar">gchar</link> *uri,
<link linkend="GimpThumbSize">GimpThumbSize</link> size);
<link linkend="gboolean">gboolean</link> <link linkend="gimp-thumb-ensure-thumb-dir-local">gimp_thumb_ensure_thumb_dir_local</link> (const <link linkend="gchar">gchar</link> *dirname,
<link linkend="GimpThumbSize">GimpThumbSize</link> size,
<link linkend="GError">GError</link> **error);
<link linkend="gchar">gchar</link> * <link linkend="gimp-thumb-get-thumb-dir-local">gimp_thumb_get_thumb_dir_local</link> (const <link linkend="gchar">gchar</link> *dirname,
<link linkend="GimpThumbSize">GimpThumbSize</link> size);
<link linkend="void">void</link> <link linkend="gimp-thumbs-delete-for-uri-local">gimp_thumbs_delete_for_uri_local</link> (const <link linkend="gchar">gchar</link> *uri);
</synopsis>
</refsynopsisdiv>
<refsect1 id="libgimpthumb-gimpthumb-utils.description" role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1 id="libgimpthumb-gimpthumb-utils.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="gimp-thumb-init" role="function">
<title>gimp_thumb_init ()</title>
<indexterm zone="gimp-thumb-init"><primary sortas="gimp_thumb_init">gimp_thumb_init</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_thumb_init (const <link linkend="gchar">gchar</link> *creator,
const <link linkend="gchar">gchar</link> *thumb_basedir);</programlisting>
<para>
This function initializes the thumbnail system. It must be called
before any other functions from libgimpthumb are used. You may call
it more than once if you want to change the <parameter>thumb_basedir</parameter> but if
you do that, you should make sure that no thread is still using the
library. Apart from this function, libgimpthumb is multi-thread
safe.
</para>
<para>
The <parameter>creator</parameter> string must be 7bit ASCII and should contain the name
of the software that creates the thumbnails. It is used to handle
thumbnail creation failures. See the spec for more details.
</para>
<para>
Usually you will pass <link linkend="NULL--CAPS"><literal>NULL</literal></link> for <parameter>thumb_basedir</parameter>. Thumbnails will
then be stored in the user's personal thumbnail directory as
defined in the spec. If you wish to use libgimpthumb to store
application-specific thumbnails, you can specify a different base
directory here.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>creator</parameter>&#160;:</term>
<listitem><simpara> an ASCII string that identifies the thumbnail creator
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>thumb_basedir</parameter>&#160;:</term>
<listitem><simpara> an absolute path or <link linkend="NULL--CAPS"><literal>NULL</literal></link> to use the default
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> <link linkend="TRUE--CAPS"><literal>TRUE</literal></link> if the library was successfully initialized.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-thumb-find-thumb" role="function">
<title>gimp_thumb_find_thumb ()</title>
<indexterm zone="gimp-thumb-find-thumb"><primary sortas="gimp_thumb_find_thumb">gimp_thumb_find_thumb</primary></indexterm><programlisting><link linkend="gchar">gchar</link> * gimp_thumb_find_thumb (const <link linkend="gchar">gchar</link> *uri,
<link linkend="GimpThumbSize">GimpThumbSize</link> *size);</programlisting>
<para>
This function attempts to locate a thumbnail for the given
<parameter>uri</parameter>. First it tries the size that is stored at <parameter>size</parameter>. If no
thumbnail of that size is found, it will look for a larger
thumbnail, then falling back to a smaller size.
</para>
<para>
If the user's thumbnail repository doesn't provide a thumbnail but
a local thumbnail repository exists for the folder the image is
located in, the same search is done among the local thumbnails (if
there are any).
</para>
<para>
If a thumbnail is found, it's size is written to the variable
pointer to by <parameter>size</parameter> and the file location is returned.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>uri</parameter>&#160;:</term>
<listitem><simpara> an escaped URI
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>size</parameter>&#160;:</term>
<listitem><simpara> pointer to a <link linkend="GimpThumbSize"><type>GimpThumbSize</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> a newly allocated string in the encoding of the
filesystem or <link linkend="NULL--CAPS"><literal>NULL</literal></link> if no thumbnail for <parameter>uri</parameter> was found
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-thumb-file-test" role="function">
<title>gimp_thumb_file_test ()</title>
<indexterm zone="gimp-thumb-file-test"><primary sortas="gimp_thumb_file_test">gimp_thumb_file_test</primary></indexterm><programlisting><link linkend="GimpThumbFileType">GimpThumbFileType</link> gimp_thumb_file_test (const <link linkend="gchar">gchar</link> *filename,
<link linkend="gint64">gint64</link> *mtime,
<link linkend="gint64">gint64</link> *size,
<link linkend="gint">gint</link> *err_no);</programlisting>
<para>
This is a convenience and portability wrapper around <link linkend="stat"><function>stat()</function></link>. It
checks if the given <parameter>filename</parameter> exists and returns modification time
and file size in 64bit integer values.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>filename</parameter>&#160;:</term>
<listitem><simpara> a filename in the encoding of the filesystem
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>mtime</parameter>&#160;:</term>
<listitem><simpara> return location for modification time
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>size</parameter>&#160;:</term>
<listitem><simpara> return location for file size
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>err_no</parameter>&#160;:</term>
<listitem><simpara> return location for system "errno"
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> The type of the file, or <link linkend="GIMP-THUMB-FILE-TYPE-NONE--CAPS"><type>GIMP_THUMB_FILE_TYPE_NONE</type></link> if
the file doesn't exist.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-thumb-name-from-uri" role="function">
<title>gimp_thumb_name_from_uri ()</title>
<indexterm zone="gimp-thumb-name-from-uri"><primary sortas="gimp_thumb_name_from_uri">gimp_thumb_name_from_uri</primary></indexterm><programlisting><link linkend="gchar">gchar</link> * gimp_thumb_name_from_uri (const <link linkend="gchar">gchar</link> *uri,
<link linkend="GimpThumbSize">GimpThumbSize</link> size);</programlisting>
<para>
Creates the name of the thumbnail file of the specified <parameter>size</parameter> that
belongs to an image file located at the given <parameter>uri</parameter>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>uri</parameter>&#160;:</term>
<listitem><simpara> an escaped URI
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>size</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="GimpThumbSize"><type>GimpThumbSize</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> a newly allocated filename in the encoding of the
filesystem or <link linkend="NULL--CAPS"><literal>NULL</literal></link> if <parameter>uri</parameter> points to the user's
thumbnail repository.
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-thumb-ensure-thumb-dir" role="function">
<title>gimp_thumb_ensure_thumb_dir ()</title>
<indexterm zone="gimp-thumb-ensure-thumb-dir"><primary sortas="gimp_thumb_ensure_thumb_dir">gimp_thumb_ensure_thumb_dir</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_thumb_ensure_thumb_dir (<link linkend="GimpThumbSize">GimpThumbSize</link> size,
<link linkend="GError">GError</link> **error);</programlisting>
<para>
This function checks if the directory that is required to store
thumbnails for a particular <parameter>size</parameter> exist and attempts to create it
if necessary.
</para>
<para>
You shouldn't have to call this function directly since
<link linkend="gimp-thumbnail-save-thumb"><function>gimp_thumbnail_save_thumb()</function></link> and <link linkend="gimp-thumbnail-save-failure"><function>gimp_thumbnail_save_failure()</function></link> will
do this for you.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>size</parameter>&#160;:</term>
<listitem><simpara> a GimpThumbSize
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara> return location for possible errors
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> <link linkend="TRUE--CAPS"><literal>TRUE</literal></link> is the directory exists, <link linkend="FALSE--CAPS"><literal>FALSE</literal></link> if it could not
be created
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-thumb-get-thumb-dir" role="function">
<title>gimp_thumb_get_thumb_dir ()</title>
<indexterm zone="gimp-thumb-get-thumb-dir"><primary sortas="gimp_thumb_get_thumb_dir">gimp_thumb_get_thumb_dir</primary></indexterm><programlisting>const <link linkend="gchar">gchar</link> * gimp_thumb_get_thumb_dir (<link linkend="GimpThumbSize">GimpThumbSize</link> size);</programlisting>
<para>
Retrieve the name of the thumbnail folder for a specific size. The
returned pointer will become invalid if <link linkend="gimp-thumb-init"><function>gimp_thumb_init()</function></link> is used
again. It must not be changed or freed.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>size</parameter>&#160;:</term>
<listitem><simpara> a GimpThumbSize
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> the thumbnail directory in the encoding of the filesystem
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-thumbs-delete-for-uri" role="function" condition="since:GIMP 2.2">
<title>gimp_thumbs_delete_for_uri ()</title>
<indexterm zone="gimp-thumbs-delete-for-uri" role="GIMP 2.2"><primary sortas="gimp_thumbs_delete_for_uri">gimp_thumbs_delete_for_uri</primary></indexterm><programlisting><link linkend="void">void</link> gimp_thumbs_delete_for_uri (const <link linkend="gchar">gchar</link> *uri);</programlisting>
<para>
Deletes all thumbnails for the image file specified by <parameter>uri</parameter> from the
user's thumbnail repository.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>uri</parameter>&#160;:</term>
<listitem><simpara> an escaped URI
</simpara></listitem></varlistentry>
</variablelist><para role="since">Since GIMP 2.2</para></refsect2>
<refsect2 id="gimp-thumb-name-from-uri-local" role="function" condition="since:GIMP 2.2">
<title>gimp_thumb_name_from_uri_local ()</title>
<indexterm zone="gimp-thumb-name-from-uri-local" role="GIMP 2.2"><primary sortas="gimp_thumb_name_from_uri_local">gimp_thumb_name_from_uri_local</primary></indexterm><programlisting><link linkend="gchar">gchar</link> * gimp_thumb_name_from_uri_local (const <link linkend="gchar">gchar</link> *uri,
<link linkend="GimpThumbSize">GimpThumbSize</link> size);</programlisting>
<para>
Creates the name of a local thumbnail file of the specified <parameter>size</parameter>
that belongs to an image file located at the given <parameter>uri</parameter>. Local
thumbnails have been introduced with version 0.7 of the spec.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>uri</parameter>&#160;:</term>
<listitem><simpara> an escaped URI
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>size</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="GimpThumbSize"><type>GimpThumbSize</type></link>
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> a newly allocated filename in the encoding of the
filesystem or <link linkend="NULL--CAPS"><literal>NULL</literal></link> if <parameter>uri</parameter> is a remote file or
points to the user's thumbnail repository.
</simpara></listitem></varlistentry>
</variablelist><para role="since">Since GIMP 2.2</para></refsect2>
<refsect2 id="gimp-thumb-ensure-thumb-dir-local" role="function" condition="since:GIMP 2.2">
<title>gimp_thumb_ensure_thumb_dir_local ()</title>
<indexterm zone="gimp-thumb-ensure-thumb-dir-local" role="GIMP 2.2"><primary sortas="gimp_thumb_ensure_thumb_dir_local">gimp_thumb_ensure_thumb_dir_local</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_thumb_ensure_thumb_dir_local (const <link linkend="gchar">gchar</link> *dirname,
<link linkend="GimpThumbSize">GimpThumbSize</link> size,
<link linkend="GError">GError</link> **error);</programlisting>
<para>
This function checks if the directory that is required to store
local thumbnails for a particular <parameter>size</parameter> exist and attempts to
create it if necessary.
</para>
<para>
You shouldn't have to call this function directly since
<link linkend="gimp-thumbnail-save-thumb-local"><function>gimp_thumbnail_save_thumb_local()</function></link> will do this for you.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>dirname</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>size</parameter>&#160;:</term>
<listitem><simpara> a GimpThumbSize
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara> return location for possible errors
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> <link linkend="TRUE--CAPS"><literal>TRUE</literal></link> is the directory exists, <link linkend="FALSE--CAPS"><literal>FALSE</literal></link> if it could not
be created
</simpara></listitem></varlistentry>
</variablelist><para role="since">Since GIMP 2.2</para></refsect2>
<refsect2 id="gimp-thumb-get-thumb-dir-local" role="function" condition="since:GIMP 2.2">
<title>gimp_thumb_get_thumb_dir_local ()</title>
<indexterm zone="gimp-thumb-get-thumb-dir-local" role="GIMP 2.2"><primary sortas="gimp_thumb_get_thumb_dir_local">gimp_thumb_get_thumb_dir_local</primary></indexterm><programlisting><link linkend="gchar">gchar</link> * gimp_thumb_get_thumb_dir_local (const <link linkend="gchar">gchar</link> *dirname,
<link linkend="GimpThumbSize">GimpThumbSize</link> size);</programlisting>
<para>
Retrieve the name of the local thumbnail folder for a specific
size. Unlike <link linkend="gimp-thumb-get-thumb-dir"><function>gimp_thumb_get_thumb_dir()</function></link> the returned string is not
constant and should be free'd when it is not any longer needed.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>dirname</parameter>&#160;:</term>
<listitem><simpara>
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>size</parameter>&#160;:</term>
<listitem><simpara> a GimpThumbSize
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> the thumbnail directory in the encoding of the filesystem
</simpara></listitem></varlistentry>
</variablelist><para role="since">Since GIMP 2.2</para></refsect2>
<refsect2 id="gimp-thumbs-delete-for-uri-local" role="function" condition="since:GIMP 2.2">
<title>gimp_thumbs_delete_for_uri_local ()</title>
<indexterm zone="gimp-thumbs-delete-for-uri-local" role="GIMP 2.2"><primary sortas="gimp_thumbs_delete_for_uri_local">gimp_thumbs_delete_for_uri_local</primary></indexterm><programlisting><link linkend="void">void</link> gimp_thumbs_delete_for_uri_local (const <link linkend="gchar">gchar</link> *uri);</programlisting>
<para>
Deletes all thumbnails for the image file specified by <parameter>uri</parameter> from
the local thumbnail repository.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>uri</parameter>&#160;:</term>
<listitem><simpara> an escaped URI
</simpara></listitem></varlistentry>
</variablelist><para role="since">Since GIMP 2.2</para></refsect2>
</refsect1>
</refentry>

View File

@ -1,476 +0,0 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE refentry PUBLIC "-//OASIS//DTD DocBook XML V4.1.2//EN"
"http://www.oasis-open.org/docbook/xml/4.1.2/docbookx.dtd">
<refentry id="GimpThumbnail">
<refmeta>
<refentrytitle role="top_of_page" id="GimpThumbnail.top_of_page">GimpThumbnail</refentrytitle>
<manvolnum>3</manvolnum>
<refmiscinfo>LIBGIMPTHUMB Library</refmiscinfo>
</refmeta>
<refnamediv>
<refname>GimpThumbnail</refname>
<refpurpose>The GimpThumbnail object</refpurpose>
</refnamediv>
<refsynopsisdiv id="GimpThumbnail.synopsis" role="synopsis">
<title role="synopsis.title">Synopsis</title>
<synopsis>
<link linkend="GimpThumbnail-struct">GimpThumbnail</link>;
<link linkend="GimpThumbnail">GimpThumbnail</link> * <link linkend="gimp-thumbnail-new">gimp_thumbnail_new</link> (void);
<link linkend="void">void</link> <link linkend="gimp-thumbnail-set-uri">gimp_thumbnail_set_uri</link> (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail,
const <link linkend="gchar">gchar</link> *uri);
<link linkend="gboolean">gboolean</link> <link linkend="gimp-thumbnail-set-filename">gimp_thumbnail_set_filename</link> (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail,
const <link linkend="gchar">gchar</link> *filename,
<link linkend="GError">GError</link> **error);
<link linkend="gboolean">gboolean</link> <link linkend="gimp-thumbnail-set-from-thumb">gimp_thumbnail_set_from_thumb</link> (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail,
const <link linkend="gchar">gchar</link> *filename,
<link linkend="GError">GError</link> **error);
<link linkend="GimpThumbState">GimpThumbState</link> <link linkend="gimp-thumbnail-peek-image">gimp_thumbnail_peek_image</link> (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail);
<link linkend="GimpThumbState">GimpThumbState</link> <link linkend="gimp-thumbnail-peek-thumb">gimp_thumbnail_peek_thumb</link> (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail,
<link linkend="GimpThumbSize">GimpThumbSize</link> size);
<link linkend="GimpThumbState">GimpThumbState</link> <link linkend="gimp-thumbnail-check-thumb">gimp_thumbnail_check_thumb</link> (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail,
<link linkend="GimpThumbSize">GimpThumbSize</link> size);
<link linkend="GdkPixbuf">GdkPixbuf</link> * <link linkend="gimp-thumbnail-load-thumb">gimp_thumbnail_load_thumb</link> (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail,
<link linkend="GimpThumbSize">GimpThumbSize</link> size,
<link linkend="GError">GError</link> **error);
<link linkend="gboolean">gboolean</link> <link linkend="gimp-thumbnail-save-thumb">gimp_thumbnail_save_thumb</link> (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail,
<link linkend="GdkPixbuf">GdkPixbuf</link> *pixbuf,
const <link linkend="gchar">gchar</link> *software,
<link linkend="GError">GError</link> **error);
<link linkend="gboolean">gboolean</link> <link linkend="gimp-thumbnail-save-thumb-local">gimp_thumbnail_save_thumb_local</link> (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail,
<link linkend="GdkPixbuf">GdkPixbuf</link> *pixbuf,
const <link linkend="gchar">gchar</link> *software,
<link linkend="GError">GError</link> **error);
<link linkend="gboolean">gboolean</link> <link linkend="gimp-thumbnail-save-failure">gimp_thumbnail_save_failure</link> (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail,
const <link linkend="gchar">gchar</link> *software,
<link linkend="GError">GError</link> **error);
<link linkend="void">void</link> <link linkend="gimp-thumbnail-delete-failure">gimp_thumbnail_delete_failure</link> (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail);
<link linkend="void">void</link> <link linkend="gimp-thumbnail-delete-others">gimp_thumbnail_delete_others</link> (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail,
<link linkend="GimpThumbSize">GimpThumbSize</link> size);
<link linkend="gboolean">gboolean</link> <link linkend="gimp-thumbnail-has-failed">gimp_thumbnail_has_failed</link> (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail);
</synopsis>
</refsynopsisdiv>
<refsect1 id="GimpThumbnail.object-hierarchy" role="object_hierarchy">
<title role="object_hierarchy.title">Object Hierarchy</title>
<synopsis>
<link linkend="GObject">GObject</link>
+----GimpThumbnail
</synopsis>
</refsect1>
<refsect1 id="GimpThumbnail.properties" role="properties">
<title role="properties.title">Properties</title>
<synopsis>
&quot;<link linkend="GimpThumbnail--image-filesize">image-filesize</link>&quot; <link linkend="gint64">gint64</link> : Read / Write
&quot;<link linkend="GimpThumbnail--image-height">image-height</link>&quot; <link linkend="gint">gint</link> : Read / Write
&quot;<link linkend="GimpThumbnail--image-mimetype">image-mimetype</link>&quot; <link linkend="gchar">gchar</link>* : Read / Write
&quot;<link linkend="GimpThumbnail--image-mtime">image-mtime</link>&quot; <link linkend="gint64">gint64</link> : Read / Write
&quot;<link linkend="GimpThumbnail--image-num-layers">image-num-layers</link>&quot; <link linkend="gint">gint</link> : Read / Write
&quot;<link linkend="GimpThumbnail--image-state">image-state</link>&quot; <link linkend="GimpThumbState">GimpThumbState</link> : Read / Write
&quot;<link linkend="GimpThumbnail--image-type">image-type</link>&quot; <link linkend="gchar">gchar</link>* : Read / Write
&quot;<link linkend="GimpThumbnail--image-uri">image-uri</link>&quot; <link linkend="gchar">gchar</link>* : Read / Write
&quot;<link linkend="GimpThumbnail--image-width">image-width</link>&quot; <link linkend="gint">gint</link> : Read / Write
&quot;<link linkend="GimpThumbnail--thumb-state">thumb-state</link>&quot; <link linkend="GimpThumbState">GimpThumbState</link> : Read / Write
</synopsis>
</refsect1>
<refsect1 id="GimpThumbnail.description" role="desc">
<title role="desc.title">Description</title>
<para>
</para>
</refsect1>
<refsect1 id="GimpThumbnail.details" role="details">
<title role="details.title">Details</title>
<refsect2 id="GimpThumbnail-struct" role="struct">
<title>GimpThumbnail</title>
<indexterm zone="GimpThumbnail-struct"><primary sortas="GimpThumbnail">GimpThumbnail</primary></indexterm><programlisting>typedef struct _GimpThumbnail GimpThumbnail;</programlisting>
<para>
All members of <link linkend="GimpThumbnail"><type>GimpThumbnail</type></link> are private and should only be accessed
using object properties.
</para></refsect2>
<refsect2 id="gimp-thumbnail-new" role="function">
<title>gimp_thumbnail_new ()</title>
<indexterm zone="gimp-thumbnail-new"><primary sortas="gimp_thumbnail_new">gimp_thumbnail_new</primary></indexterm><programlisting><link linkend="GimpThumbnail">GimpThumbnail</link> * gimp_thumbnail_new (void);</programlisting>
<para>
Creates a new <link linkend="GimpThumbnail"><type>GimpThumbnail</type></link> object.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> a newly allocated GimpThumbnail object
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-thumbnail-set-uri" role="function">
<title>gimp_thumbnail_set_uri ()</title>
<indexterm zone="gimp-thumbnail-set-uri"><primary sortas="gimp_thumbnail_set_uri">gimp_thumbnail_set_uri</primary></indexterm><programlisting><link linkend="void">void</link> gimp_thumbnail_set_uri (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail,
const <link linkend="gchar">gchar</link> *uri);</programlisting>
<para>
Sets the location of the image file associated with the <link linkend="thumbnail"><type>thumbnail</type></link>.
</para>
<para>
All informations stored in the <link linkend="GimpThumbnail"><type>GimpThumbnail</type></link> are reset.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>thumbnail</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="GimpThumbnail"><type>GimpThumbnail</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>uri</parameter>&#160;:</term>
<listitem><simpara> an escaped URI
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-thumbnail-set-filename" role="function">
<title>gimp_thumbnail_set_filename ()</title>
<indexterm zone="gimp-thumbnail-set-filename"><primary sortas="gimp_thumbnail_set_filename">gimp_thumbnail_set_filename</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_thumbnail_set_filename (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail,
const <link linkend="gchar">gchar</link> *filename,
<link linkend="GError">GError</link> **error);</programlisting>
<para>
Sets the location of the image file associated with the <link linkend="thumbnail"><type>thumbnail</type></link>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>thumbnail</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="GimpThumbnail"><type>GimpThumbnail</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>filename</parameter>&#160;:</term>
<listitem><simpara> a local filename in the encoding of the filesystem
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara> return location for possible errors
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> <link linkend="TRUE--CAPS"><literal>TRUE</literal></link> if the filename was successfully set,
<link linkend="FALSE--CAPS"><literal>FALSE</literal></link> otherwise
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-thumbnail-set-from-thumb" role="function">
<title>gimp_thumbnail_set_from_thumb ()</title>
<indexterm zone="gimp-thumbnail-set-from-thumb"><primary sortas="gimp_thumbnail_set_from_thumb">gimp_thumbnail_set_from_thumb</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_thumbnail_set_from_thumb (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail,
const <link linkend="gchar">gchar</link> *filename,
<link linkend="GError">GError</link> **error);</programlisting>
<para>
This function tries to load the thumbnail file pointed to by
<parameter>filename</parameter> and retrieves the URI of the original image file from
it. This allows you to find the image file associated with a
thumbnail file.
</para>
<para>
This will only work with thumbnails from the global thumbnail
directory that contain a valid Thumb::URI tag.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>thumbnail</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="GimpThumbnail"><type>GimpThumbnail</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>filename</parameter>&#160;:</term>
<listitem><simpara> filename of a local thumbnail file
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara> return location for possible errors
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> <link linkend="TRUE--CAPS"><literal>TRUE</literal></link> if the pixbuf could be loaded, <link linkend="FALSE--CAPS"><literal>FALSE</literal></link> otherwise
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-thumbnail-peek-image" role="function">
<title>gimp_thumbnail_peek_image ()</title>
<indexterm zone="gimp-thumbnail-peek-image"><primary sortas="gimp_thumbnail_peek_image">gimp_thumbnail_peek_image</primary></indexterm><programlisting><link linkend="GimpThumbState">GimpThumbState</link> gimp_thumbnail_peek_image (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail);</programlisting>
<para>
Checks the image file associated with the <parameter>thumbnail</parameter> and updates
information such as state, filesize and modification time.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>thumbnail</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="GimpThumbnail"><type>GimpThumbnail</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> the image's <link linkend="GimpThumbState"><type>GimpThumbState</type></link> after the update
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-thumbnail-peek-thumb" role="function">
<title>gimp_thumbnail_peek_thumb ()</title>
<indexterm zone="gimp-thumbnail-peek-thumb"><primary sortas="gimp_thumbnail_peek_thumb">gimp_thumbnail_peek_thumb</primary></indexterm><programlisting><link linkend="GimpThumbState">GimpThumbState</link> gimp_thumbnail_peek_thumb (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail,
<link linkend="GimpThumbSize">GimpThumbSize</link> size);</programlisting>
<para>
Checks if a thumbnail file for the <parameter>thumbnail</parameter> exists. It doesn't
load the thumbnail image and thus cannot check if the thumbnail is
valid and uptodate for the image file asosciated with the
<parameter>thumbnail</parameter>.
</para>
<para>
If you want to check the thumbnail, either attempt to load it using
<link linkend="gimp-thumbnail-load-thumb"><function>gimp_thumbnail_load_thumb()</function></link>, or, if you don't need the resulting
thumbnail pixbuf, use <link linkend="gimp-thumbnail-check-thumb"><function>gimp_thumbnail_check_thumb()</function></link>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>thumbnail</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="GimpThumbnail"><type>GimpThumbnail</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>size</parameter>&#160;:</term>
<listitem><simpara> the preferred size of the thumbnail image
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> the thumbnail's <link linkend="GimpThumbState"><type>GimpThumbState</type></link> after the update
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-thumbnail-check-thumb" role="function" condition="since:GIMP 2.2">
<title>gimp_thumbnail_check_thumb ()</title>
<indexterm zone="gimp-thumbnail-check-thumb" role="GIMP 2.2"><primary sortas="gimp_thumbnail_check_thumb">gimp_thumbnail_check_thumb</primary></indexterm><programlisting><link linkend="GimpThumbState">GimpThumbState</link> gimp_thumbnail_check_thumb (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail,
<link linkend="GimpThumbSize">GimpThumbSize</link> size);</programlisting>
<para>
Checks if a thumbnail file for the <parameter>thumbnail</parameter> exists, loads it and
verifies it is valid and uptodate for the image file asosciated
with the <parameter>thumbnail</parameter>.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>thumbnail</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="GimpThumbnail"><type>GimpThumbnail</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>size</parameter>&#160;:</term>
<listitem><simpara> the preferred size of the thumbnail image
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> the thumbnail's <link linkend="GimpThumbState"><type>GimpThumbState</type></link> after the update
</simpara></listitem></varlistentry>
</variablelist><para role="since">Since GIMP 2.2</para></refsect2>
<refsect2 id="gimp-thumbnail-load-thumb" role="function">
<title>gimp_thumbnail_load_thumb ()</title>
<indexterm zone="gimp-thumbnail-load-thumb"><primary sortas="gimp_thumbnail_load_thumb">gimp_thumbnail_load_thumb</primary></indexterm><programlisting><link linkend="GdkPixbuf">GdkPixbuf</link> * gimp_thumbnail_load_thumb (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail,
<link linkend="GimpThumbSize">GimpThumbSize</link> size,
<link linkend="GError">GError</link> **error);</programlisting>
<para>
Attempts to load a thumbnail preview for the image associated with
<parameter>thumbnail</parameter>. Before you use this function you need need to set an
image location using <link linkend="gimp-thumbnail-set-uri"><function>gimp_thumbnail_set_uri()</function></link> or
<link linkend="gimp-thumbnail-set-filename"><function>gimp_thumbnail_set_filename()</function></link>. You can also peek at the thumb
before loading it using gimp_thumbnail_peek_thumb.
</para>
<para>
This function will return the best matching pixbuf for the
specified <parameter>size</parameter>. It returns the pixbuf as loaded from disk. It is
left to the caller to scale it to the desired size. The returned
pixbuf may also represent an outdated preview of the image file.
In order to verify if the preview is uptodate, you should check the
"thumb_state" property after calling this function.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>thumbnail</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="GimpThumbnail"><type>GimpThumbnail</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>size</parameter>&#160;:</term>
<listitem><simpara> the preferred <link linkend="GimpThumbSize"><type>GimpThumbSize</type></link> for the preview
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara> return location for possible errors
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> a preview pixbuf or <link linkend="NULL--CAPS"><literal>NULL</literal></link> if no thumbnail was found
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-thumbnail-save-thumb" role="function">
<title>gimp_thumbnail_save_thumb ()</title>
<indexterm zone="gimp-thumbnail-save-thumb"><primary sortas="gimp_thumbnail_save_thumb">gimp_thumbnail_save_thumb</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_thumbnail_save_thumb (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail,
<link linkend="GdkPixbuf">GdkPixbuf</link> *pixbuf,
const <link linkend="gchar">gchar</link> *software,
<link linkend="GError">GError</link> **error);</programlisting>
<para>
Saves a preview thumbnail for the image associated with <parameter>thumbnail</parameter>.
to the global thumbnail repository.
</para>
<para>
The caller is responsible for setting the image file location, it's
filesize, modification time. One way to set this info is to is to
call <link linkend="gimp-thumbnail-set-uri"><function>gimp_thumbnail_set_uri()</function></link> followed by <link linkend="gimp-thumbnail-peek-image"><function>gimp_thumbnail_peek_image()</function></link>.
Since this won't work for remote images, it is left to the user of
<link linkend="gimp-thumbnail-save-thumb"><function>gimp_thumbnail_save_thumb()</function></link> to do this or to set the information
using the <parameter>thumbnail</parameter> object properties.
</para>
<para>
The image format type and the number of layers can optionally be
set in order to be stored with the preview image.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>thumbnail</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="GimpThumbnail"><type>GimpThumbnail</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>pixbuf</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="GdkPixbuf"><type>GdkPixbuf</type></link> representing the preview thumbnail
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>software</parameter>&#160;:</term>
<listitem><simpara> a string describing the software saving the thumbnail
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara> return location for possible errors
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> <link linkend="TRUE--CAPS"><literal>TRUE</literal></link> if a thumbnail was successfully written,
<link linkend="FALSE--CAPS"><literal>FALSE</literal></link> otherwise
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-thumbnail-save-thumb-local" role="function" condition="since:GIMP 2.2">
<title>gimp_thumbnail_save_thumb_local ()</title>
<indexterm zone="gimp-thumbnail-save-thumb-local" role="GIMP 2.2"><primary sortas="gimp_thumbnail_save_thumb_local">gimp_thumbnail_save_thumb_local</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_thumbnail_save_thumb_local (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail,
<link linkend="GdkPixbuf">GdkPixbuf</link> *pixbuf,
const <link linkend="gchar">gchar</link> *software,
<link linkend="GError">GError</link> **error);</programlisting>
<para>
Saves a preview thumbnail for the image associated with <parameter>thumbnail</parameter>
to the local thumbnail repository. Local thumbnails have been added
with version 0.7 of the spec.
</para>
<para>
Please see also <link linkend="gimp-thumbnail-save-thumb"><function>gimp_thumbnail_save_thumb()</function></link>. The notes made there
apply here as well.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>thumbnail</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="GimpThumbnail"><type>GimpThumbnail</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>pixbuf</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="GdkPixbuf"><type>GdkPixbuf</type></link> representing the preview thumbnail
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>software</parameter>&#160;:</term>
<listitem><simpara> a string describing the software saving the thumbnail
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara> return location for possible errors
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> <link linkend="TRUE--CAPS"><literal>TRUE</literal></link> if a thumbnail was successfully written,
<link linkend="FALSE--CAPS"><literal>FALSE</literal></link> otherwise
</simpara></listitem></varlistentry>
</variablelist><para role="since">Since GIMP 2.2</para></refsect2>
<refsect2 id="gimp-thumbnail-save-failure" role="function">
<title>gimp_thumbnail_save_failure ()</title>
<indexterm zone="gimp-thumbnail-save-failure"><primary sortas="gimp_thumbnail_save_failure">gimp_thumbnail_save_failure</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_thumbnail_save_failure (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail,
const <link linkend="gchar">gchar</link> *software,
<link linkend="GError">GError</link> **error);</programlisting>
<para>
Saves a failure thumbnail for the image associated with
<parameter>thumbnail</parameter>. This is an empty pixbuf that indicates that an attempt
to create a preview for the image file failed. It should be used to
prevent the software from further attempts to create this thumbnail.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>thumbnail</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="GimpThumbnail"><type>GimpThumbnail</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>software</parameter>&#160;:</term>
<listitem><simpara> a string describing the software saving the thumbnail
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>error</parameter>&#160;:</term>
<listitem><simpara> return location for possible errors
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> <link linkend="TRUE--CAPS"><literal>TRUE</literal></link> if a failure thumbnail was successfully written,
<link linkend="FALSE--CAPS"><literal>FALSE</literal></link> otherwise
</simpara></listitem></varlistentry>
</variablelist></refsect2>
<refsect2 id="gimp-thumbnail-delete-failure" role="function" condition="since:GIMP 2.2">
<title>gimp_thumbnail_delete_failure ()</title>
<indexterm zone="gimp-thumbnail-delete-failure" role="GIMP 2.2"><primary sortas="gimp_thumbnail_delete_failure">gimp_thumbnail_delete_failure</primary></indexterm><programlisting><link linkend="void">void</link> gimp_thumbnail_delete_failure (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail);</programlisting>
<para>
Removes a failure thumbnail if one exists. This function should be
used after a thumbnail has been successfully created.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>thumbnail</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="GimpThumbnail"><type>GimpThumbnail</type></link> object
</simpara></listitem></varlistentry>
</variablelist><para role="since">Since GIMP 2.2</para></refsect2>
<refsect2 id="gimp-thumbnail-delete-others" role="function" condition="since:GIMP 2.2">
<title>gimp_thumbnail_delete_others ()</title>
<indexterm zone="gimp-thumbnail-delete-others" role="GIMP 2.2"><primary sortas="gimp_thumbnail_delete_others">gimp_thumbnail_delete_others</primary></indexterm><programlisting><link linkend="void">void</link> gimp_thumbnail_delete_others (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail,
<link linkend="GimpThumbSize">GimpThumbSize</link> size);</programlisting>
<para>
Removes all other thumbnails from the global thumbnail
repository. Only the thumbnail for <parameter>size</parameter> is not deleted. This
function should be used after a thumbnail has been successfully
updated. See the spec for a more detailed description on when to
delete thumbnails.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>thumbnail</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="GimpThumbnail"><type>GimpThumbnail</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><parameter>size</parameter>&#160;:</term>
<listitem><simpara> the thumbnail size which should not be deleted
</simpara></listitem></varlistentry>
</variablelist><para role="since">Since GIMP 2.2</para></refsect2>
<refsect2 id="gimp-thumbnail-has-failed" role="function" condition="since:GIMP 2.2">
<title>gimp_thumbnail_has_failed ()</title>
<indexterm zone="gimp-thumbnail-has-failed" role="GIMP 2.2"><primary sortas="gimp_thumbnail_has_failed">gimp_thumbnail_has_failed</primary></indexterm><programlisting><link linkend="gboolean">gboolean</link> gimp_thumbnail_has_failed (<link linkend="GimpThumbnail">GimpThumbnail</link> *thumbnail);</programlisting>
<para>
Checks if a valid failure thumbnail for the given thumbnail exists
in the global thumbnail repository. This may be the case even if
<link linkend="gimp-thumbnail-peek-thumb"><function>gimp_thumbnail_peek_thumb()</function></link> doesn't return <link linkend="GIMP-THUMB-STATE-FAILED--CAPS"><literal>GIMP_THUMB_STATE_FAILED</literal></link>
since there might be a real thumbnail and a failure thumbnail for
the same image file.
</para>
<para>
The application should not attempt to create the thumbnail if a
valid failure thumbnail exists.</para>
<para>
</para><variablelist role="params">
<varlistentry><term><parameter>thumbnail</parameter>&#160;:</term>
<listitem><simpara> a <link linkend="GimpThumbnail"><type>GimpThumbnail</type></link> object
</simpara></listitem></varlistentry>
<varlistentry><term><emphasis>Returns</emphasis>&#160;:</term><listitem><simpara> <link linkend="TRUE--CAPS"><literal>TRUE</literal></link> if a failure thumbnail exists or
</simpara></listitem></varlistentry>
</variablelist><para role="since">Since GIMP 2.2</para></refsect2>
</refsect1>
<refsect1 id="GimpThumbnail.property-details" role="property_details">
<title role="property_details.title">Property Details</title>
<refsect2 id="GimpThumbnail--image-filesize" role="property"><title>The <literal>&quot;image-filesize&quot;</literal> property</title>
<indexterm zone="GimpThumbnail--image-filesize"><primary sortas="GimpThumbnail:image-filesize">GimpThumbnail:image-filesize</primary></indexterm><programlisting> &quot;image-filesize&quot; <link linkend="gint64">gint64</link> : Read / Write</programlisting>
<para>Size of the image file in bytes.</para><para>Allowed values: &gt;= 0</para>
<para>Default value: 0</para>
</refsect2>
<refsect2 id="GimpThumbnail--image-height" role="property"><title>The <literal>&quot;image-height&quot;</literal> property</title>
<indexterm zone="GimpThumbnail--image-height"><primary sortas="GimpThumbnail:image-height">GimpThumbnail:image-height</primary></indexterm><programlisting> &quot;image-height&quot; <link linkend="gint">gint</link> : Read / Write</programlisting>
<para>Height of the image in pixels.</para><para>Allowed values: &gt;= 0</para>
<para>Default value: 0</para>
</refsect2>
<refsect2 id="GimpThumbnail--image-mimetype" role="property"><title>The <literal>&quot;image-mimetype&quot;</literal> property</title>
<indexterm zone="GimpThumbnail--image-mimetype"><primary sortas="GimpThumbnail:image-mimetype">GimpThumbnail:image-mimetype</primary></indexterm><programlisting> &quot;image-mimetype&quot; <link linkend="gchar">gchar</link>* : Read / Write</programlisting>
<para>Image mimetype.</para><para>Default value: NULL</para>
</refsect2>
<refsect2 id="GimpThumbnail--image-mtime" role="property"><title>The <literal>&quot;image-mtime&quot;</literal> property</title>
<indexterm zone="GimpThumbnail--image-mtime"><primary sortas="GimpThumbnail:image-mtime">GimpThumbnail:image-mtime</primary></indexterm><programlisting> &quot;image-mtime&quot; <link linkend="gint64">gint64</link> : Read / Write</programlisting>
<para>Modification time of the image file in seconds since the Epoch.</para><para>Allowed values: &gt;= 0</para>
<para>Default value: 0</para>
</refsect2>
<refsect2 id="GimpThumbnail--image-num-layers" role="property"><title>The <literal>&quot;image-num-layers&quot;</literal> property</title>
<indexterm zone="GimpThumbnail--image-num-layers"><primary sortas="GimpThumbnail:image-num-layers">GimpThumbnail:image-num-layers</primary></indexterm><programlisting> &quot;image-num-layers&quot; <link linkend="gint">gint</link> : Read / Write</programlisting>
<para>The number of layers in the image.</para><para>Allowed values: &gt;= 0</para>
<para>Default value: 0</para>
</refsect2>
<refsect2 id="GimpThumbnail--image-state" role="property"><title>The <literal>&quot;image-state&quot;</literal> property</title>
<indexterm zone="GimpThumbnail--image-state"><primary sortas="GimpThumbnail:image-state">GimpThumbnail:image-state</primary></indexterm><programlisting> &quot;image-state&quot; <link linkend="GimpThumbState">GimpThumbState</link> : Read / Write</programlisting>
<para>State of the image associated to the thumbnail object.</para><para>Default value: GIMP_THUMB_STATE_UNKNOWN</para>
</refsect2>
<refsect2 id="GimpThumbnail--image-type" role="property"><title>The <literal>&quot;image-type&quot;</literal> property</title>
<indexterm zone="GimpThumbnail--image-type"><primary sortas="GimpThumbnail:image-type">GimpThumbnail:image-type</primary></indexterm><programlisting> &quot;image-type&quot; <link linkend="gchar">gchar</link>* : Read / Write</programlisting>
<para>String describing the type of the image format.</para><para>Default value: NULL</para>
</refsect2>
<refsect2 id="GimpThumbnail--image-uri" role="property"><title>The <literal>&quot;image-uri&quot;</literal> property</title>
<indexterm zone="GimpThumbnail--image-uri"><primary sortas="GimpThumbnail:image-uri">GimpThumbnail:image-uri</primary></indexterm><programlisting> &quot;image-uri&quot; <link linkend="gchar">gchar</link>* : Read / Write</programlisting>
<para>URI of the image file.</para><para>Default value: NULL</para>
</refsect2>
<refsect2 id="GimpThumbnail--image-width" role="property"><title>The <literal>&quot;image-width&quot;</literal> property</title>
<indexterm zone="GimpThumbnail--image-width"><primary sortas="GimpThumbnail:image-width">GimpThumbnail:image-width</primary></indexterm><programlisting> &quot;image-width&quot; <link linkend="gint">gint</link> : Read / Write</programlisting>
<para>Width of the image in pixels.</para><para>Allowed values: &gt;= 0</para>
<para>Default value: 0</para>
</refsect2>
<refsect2 id="GimpThumbnail--thumb-state" role="property"><title>The <literal>&quot;thumb-state&quot;</literal> property</title>
<indexterm zone="GimpThumbnail--thumb-state"><primary sortas="GimpThumbnail:thumb-state">GimpThumbnail:thumb-state</primary></indexterm><programlisting> &quot;thumb-state&quot; <link linkend="GimpThumbState">GimpThumbState</link> : Read / Write</programlisting>
<para>State of the thumbnail file.</para><para>Default value: GIMP_THUMB_STATE_UNKNOWN</para>
</refsect2>
</refsect1>
</refentry>