TumblerThumbnail: tumbler Reference Manual

## TumblerThumbnail TumblerThumbnail |

## Functions

gboolean | tumbler_thumbnail_load ()
gboolean | tumbler_thumbnail_needs_update ()
gboolean | tumbler_thumbnail_save_image_data ()
gboolean | tumbler_thumbnail_save_file ()
TumblerThumbnailFlavor * | tumbler_thumbnail_get_flavor ()

## Properties

TumblerCache * | cache | Read / Write / Construct Only
TumblerThumbnailFlavor * | flavor | Read / Write / Construct Only
gchar * | uri | Read / Write / Construct Only

## Types and Values

struct | TumblerImageData

## Object Hierarchy

        GInterface
        ╰── TumblerThumbnail

## Description

## Functions

### tumbler_thumbnail_load ()

    gboolean
    tumbler_thumbnail_load (TumblerThumbnail *thumbnail,
                            GCancellable *cancellable,
                            GError **error);

### tumbler_thumbnail_needs_update ()

    gboolean
    tumbler_thumbnail_needs_update (TumblerThumbnail *thumbnail,
                                    const gchar *uri,
                                    guint64 mtime);

### tumbler_thumbnail_save_image_data ()

    gboolean
    tumbler_thumbnail_save_image_data (TumblerThumbnail *thumbnail,
                                       TumblerImageData *data,
                                       guint64 mtime,
                                       GCancellable *cancellable,
                                       GError **error);

### tumbler_thumbnail_save_file ()

    gboolean
    tumbler_thumbnail_save_file (TumblerThumbnail *thumbnail,
                                 GFile *file,
                                 guint64 mtime,
                                 GCancellable *cancellable,
                                 GError **error);

### tumbler_thumbnail_get_flavor ()

    TumblerThumbnailFlavor *
    tumbler_thumbnail_get_flavor (TumblerThumbnail *thumbnail);

## Types and Values

### struct TumblerImageData

    struct TumblerImageData {
      TumblerColorspace colorspace;
      const guchar     *data;
      gboolean          has_alpha;
      gint              bits_per_sample;
      gint              width;
      gint              height;
      gint              rowstride;
    };

## Property Details

### The `“cache”` property

      “cache”                    TumblerCache *

cache.

Flags: Read / Write / Construct Only

### The `“flavor”` property

      “flavor”                   TumblerThumbnailFlavor *

flavor.

Flags: Read / Write / Construct Only

### The `“uri”` property

      “uri”                      gchar *

uri.

Flags: Read / Write / Construct Only

Default value: NULL