diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2021-12-22 10:59:03 +0100 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2021-12-22 14:20:39 +0100 |
commit | 2d4cab52b37c58c881e8bb7786adbe868f004a63 (patch) | |
tree | 7386bd3c94da4bc099c498f4b68feab8d7aaecd8 /fiv-io.h | |
parent | 46edd4406c360ca85e83b7bec30ce115e186346f (diff) | |
download | fiv-2d4cab52b37c58c881e8bb7786adbe868f004a63.tar.gz fiv-2d4cab52b37c58c881e8bb7786adbe868f004a63.tar.xz fiv-2d4cab52b37c58c881e8bb7786adbe868f004a63.zip |
Integrate jpeg-quantsmooth
Also, don't pointlessly store JPEGs in an ARGB Cairo surface.
Diffstat (limited to 'fiv-io.h')
-rw-r--r-- | fiv-io.h | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -55,9 +55,10 @@ 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; -cairo_surface_t *fiv_io_open(const gchar *path, GError **error); -cairo_surface_t *fiv_io_open_from_data( - const char *data, size_t len, const gchar *path, GError **error); +cairo_surface_t *fiv_io_open( + const gchar *path, gboolean enhance, GError **error); +cairo_surface_t *fiv_io_open_from_data(const char *data, size_t len, + const gchar *path, gboolean enhance, GError **error); int fiv_io_filecmp(GFile *f1, GFile *f2); |