From cd37dc9ed94f0fa8738396c9a18a0c398f52694c Mon Sep 17 00:00:00 2001 From: Tomas Bzatek Date: Sat, 30 Oct 2010 13:05:15 +0200 Subject: Don't resize an image if it fits in desired size --- src/jpeg-utils.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/jpeg-utils.h') diff --git a/src/jpeg-utils.h b/src/jpeg-utils.h index e31ed52..e26218e 100644 --- a/src/jpeg-utils.h +++ b/src/jpeg-utils.h @@ -69,7 +69,7 @@ void free_exif_data (TExifData *data); * - setting thumbnail flag will remove all profiles and optimize for size */ gboolean resize_image (const gchar *src, const gchar *dst, - int size_x, int size_y, + unsigned long size_x, unsigned long size_y, int quality, gboolean thumbnail, ThumbnailSquareType squared_thumbnail_type); -- cgit v1.2.3