aboutsummaryrefslogtreecommitdiff
path: root/fiv-io.h
diff options
context:
space:
mode:
authorPřemysl Eric Janouch <p@janouch.name>2021-12-27 23:51:38 +0100
committerPřemysl Eric Janouch <p@janouch.name>2021-12-28 02:07:42 +0100
commitaf2eb411d92028b50f5b54b4b69bbc73cc0cae34 (patch)
tree43d2532c4b4520b9e3ff9df26377f908e7a78f21 /fiv-io.h
parent004919cbc5d5ca1107df4d48a9076c666260e5fc (diff)
downloadfiv-af2eb411d92028b50f5b54b4b69bbc73cc0cae34.tar.gz
fiv-af2eb411d92028b50f5b54b4b69bbc73cc0cae34.tar.xz
fiv-af2eb411d92028b50f5b54b4b69bbc73cc0cae34.zip
Try to regenerate low quality thumbnails
Diffstat (limited to 'fiv-io.h')
-rw-r--r--fiv-io.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/fiv-io.h b/fiv-io.h
index ae39601..29d9807 100644
--- a/fiv-io.h
+++ b/fiv-io.h
@@ -67,6 +67,9 @@ extern cairo_user_data_key_t fiv_io_key_page_next;
/// There is no wrap-around. This is a weak pointer.
extern cairo_user_data_key_t fiv_io_key_page_previous;
+/// If non-NULL, indicates a thumbnail of insufficient quality.
+extern cairo_user_data_key_t fiv_io_key_thumbnail_lq;
+
cairo_surface_t *fiv_io_open(
const gchar *path, FivIoProfile profile, gboolean enhance, GError **error);
cairo_surface_t *fiv_io_open_from_data(const char *data, size_t len,