diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2016-09-18 19:34:56 +0200 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2016-09-18 19:54:08 +0200 |
| commit | aeefd1959aad3b80a0fe02083edbd5ebfb09510b (patch) | |
| tree | 4da69339f39f55c3a70e7f54a4eafe95ea9fd972 /src/items.h | |
| parent | 6b853ad4312763d50f1e843d4e7168ccd023530a (diff) | |
| download | cataract-aeefd1959aad3b80a0fe02083edbd5ebfb09510b.tar.xz | |
Introduce resizing thresholds
This commit brings deeper changes to the image sizes concept. The goal
was to allow more flexible input in resizing vs. supplied files mixed
mode. Instead of hard <noresize> flags the decision whether to resize
or copy an image is now based on threshold. While not 100% universal,
it brings more control regarding image size bounds. Also brings a level
of tolerance for specific errors (off-by-one exports).
Image sizes' rules are a bit simpler, hopefully easier to understand.
A lot can be achieved by combination of thresholds.
Diffstat (limited to 'src/items.h')
| -rw-r--r-- | src/items.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/items.h b/src/items.h index 2d0df59..24a521f 100644 --- a/src/items.h +++ b/src/items.h @@ -127,6 +127,11 @@ void get_album_titles (const gchar *filename, gchar **title, gchar **description TGalleryType get_child_gallery_type (const gchar *filename); /* + * dup_path_info: duplicate pathinfo data + */ +TPathInfo * dup_path_info (TPathInfo *path_info); + +/* * free_path_info: free allocated pathinfo data */ void free_path_info (TPathInfo *path_info); |
