diff options
| author | Přemysl Eric Janouch <p@janouch.name> | 2022-06-04 22:47:44 +0200 | 
|---|---|---|
| committer | Přemysl Eric Janouch <p@janouch.name> | 2022-06-04 23:14:15 +0200 | 
| commit | 024b5117b4fdbd3193afab40c071abd11b85a013 (patch) | |
| tree | aa0f9154f2640d17d0b864015c79bacafcbcf0f4 /fiv-io.h | |
| parent | ac6b606ccc85c2fca02b6199ba138fd85f04489c (diff) | |
| download | fiv-024b5117b4fdbd3193afab40c071abd11b85a013.tar.gz fiv-024b5117b4fdbd3193afab40c071abd11b85a013.tar.xz fiv-024b5117b4fdbd3193afab40c071abd11b85a013.zip  | |
Get rid of our spng dependency
Thumbnails can be properly loaded using Wuffs now.
Diffstat (limited to 'fiv-io.h')
| -rw-r--r-- | fiv-io.h | 4 | 
1 files changed, 4 insertions, 0 deletions
@@ -53,6 +53,9 @@ extern cairo_user_data_key_t fiv_io_key_icc;  extern cairo_user_data_key_t fiv_io_key_xmp;  /// GBytes with a WebP's THUM chunk, used for our thumbnails.  extern cairo_user_data_key_t fiv_io_key_thum; +/// GHashTable with key-value pairs from PNG's tEXt, zTXt, iTXt chunks. +/// Currently only read by fiv_io_open_png_thumbnail(). +extern cairo_user_data_key_t fiv_io_key_text;  /// The next frame in a sequence, as a surface, in a chain, pre-composited.  /// There is no wrap-around. @@ -95,6 +98,7 @@ typedef struct {  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); +cairo_surface_t *fiv_io_open_png_thumbnail(const char *path, GError **error);  // --- Thumbnail passing utilities ---------------------------------------------  | 
