David King
davidk@gnome.org 2014

This work is licensed under a Creative Commons Attribution-Share Alike 3.0 United States License.

As a special exception, the copyright holders give you permission to copy, modify, and distribute the example code contained in this document under the terms of your choosing, without restriction.

Thumbnails for document-like files.

# File thumbnails

If your application handles files which could be printed or could be represented well as a document, adding a thumbnailer makes the files show up in Files with images that correspond to the document.

The gnome-desktop library defines the interface and associated files that a thumbnailer must implement. The component responsible for calling the thumbnailer is GnomeDesktopThumbnailFactory.

A common helper for thumbnailers, which handles the command-line parsing and output file generation, is gnome-thumbnailer-skeleton.