From 04ec292caf2ec2aa1e6a694996fefa6ec3b5ff6b Mon Sep 17 00:00:00 2001 From: Přemysl Eric Janouch
Date: Sun, 20 Feb 2022 19:43:21 +0100 Subject: Make thumbnailers pass back raw images --- fiv-io.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'fiv-io.h') diff --git a/fiv-io.h b/fiv-io.h index 2423618..8586065 100644 --- a/fiv-io.h +++ b/fiv-io.h @@ -96,6 +96,11 @@ cairo_surface_t *fiv_io_open(const FivIoOpenContext *ctx, GError **error); cairo_surface_t *fiv_io_open_from_data( const char *data, size_t len, const FivIoOpenContext *ctx, GError **error); +// --- Thumbnail passing utilities --------------------------------------------- + +void fiv_io_serialize_to_stdout(cairo_surface_t *surface); +cairo_surface_t *fiv_io_deserialize(GBytes *bytes); + // --- Filesystem -------------------------------------------------------------- typedef enum _FivIoModelSort { -- cgit v1.2.3-70-g09d2