From 7c07cbdbc469d8eab075d32c27039d8683b9cdf8 Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Tue, 30 Dec 2008 20:38:35 +0100 Subject: Strip unneeded blocks during thumbnail generation --- jpeg-utils.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'jpeg-utils.h') 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 -- cgit v1.2.3