summaryrefslogtreecommitdiff
path: root/jpeg-utils.h
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2008-12-30 20:38:35 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2008-12-30 20:38:35 +0100
commit7c07cbdbc469d8eab075d32c27039d8683b9cdf8 (patch)
tree98215f5921bba26616462daa67643462f27617f5 /jpeg-utils.h
parente420e9f3fbd5e758e4a1489766f74030a1b77b88 (diff)
downloadcataract-7c07cbdbc469d8eab075d32c27039d8683b9cdf8.tar.xz
Strip unneeded blocks during thumbnail generation
Diffstat (limited to 'jpeg-utils.h')
-rw-r--r--jpeg-utils.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/jpeg-utils.h b/jpeg-utils.h
index e5e39de..aec1a96 100644
--- a/jpeg-utils.h
+++ b/jpeg-utils.h
@@ -63,10 +63,12 @@ void free_exif_data (TExifData *data);
/*
* resize_image: resize image pointed by src and save result to dst
+ * - setting thumbnail flag will remove all profiles and optimize for size
*/
gboolean resize_image (const char *src, const char *dst,
int size_x, int size_y,
- int quality);
+ int quality,
+ gboolean thumbnail);
/*
* get_image_sizes: retrieve image dimensions