summaryrefslogtreecommitdiff
path: root/src/jpeg-utils.h
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2010-10-30 13:05:15 +0200
committerTomas Bzatek <tbzatek@users.sourceforge.net>2010-10-30 13:05:15 +0200
commitcd37dc9ed94f0fa8738396c9a18a0c398f52694c (patch)
treeb65ded7111fa1be16fd7b96a3fa0ebcc7ed903fe /src/jpeg-utils.h
parent256bfcfc07364abe2bdc106f61ba4c02116cb4d5 (diff)
downloadcataract-cd37dc9ed94f0fa8738396c9a18a0c398f52694c.tar.xz
Don't resize an image if it fits in desired size
Diffstat (limited to 'src/jpeg-utils.h')
-rw-r--r--src/jpeg-utils.h2
1 files changed, 1 insertions, 1 deletions
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);