From ce1ae1ff69309ec7f1905e928a9d43eb8ae86dbe Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Mon, 26 Sep 2016 14:56:06 +0200 Subject: jpeg-utils: Add support for custom resize options This change brings the possibility to tweak resize options using standard ImageMagick `convert` command syntax. Separate options are offered for thumbnails. --- src/gallery-utils.h | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/gallery-utils.h') diff --git a/src/gallery-utils.h b/src/gallery-utils.h index 1af8b84..131f4e2 100644 --- a/src/gallery-utils.h +++ b/src/gallery-utils.h @@ -37,6 +37,11 @@ G_BEGIN_DECLS */ void str_replace (gchar **dst, const gchar *search, const gchar *replace); +/* + * str_trim_inside: trims any leading, trailing and repeated whitespaces in the whole string + */ +void str_trim_inside (gchar **s); + /* * copy_file: copy file from src to dst */ -- cgit v1.2.3