diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2016-09-26 14:56:06 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2016-10-02 17:11:34 +0200 |
| commit | ce1ae1ff69309ec7f1905e928a9d43eb8ae86dbe (patch) | |
| tree | 1333e1cf81b034681c4ac6b35665c17ccd984048 /src/gallery-utils.h | |
| parent | c80c60eb0623268112b5a0c37d80ada0384c3e90 (diff) | |
| download | cataract-ce1ae1ff69309ec7f1905e928a9d43eb8ae86dbe.tar.xz | |
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.
Diffstat (limited to 'src/gallery-utils.h')
| -rw-r--r-- | src/gallery-utils.h | 5 |
1 files changed, 5 insertions, 0 deletions
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 @@ -38,6 +38,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 */ gboolean copy_file (const gchar *src, const gchar *dst); |
