summaryrefslogtreecommitdiff
path: root/jpeg-utils.h
diff options
context:
space:
mode:
authorTomas Bzatek <tbzatek@users.sourceforge.net>2009-01-01 13:33:15 +0100
committerTomas Bzatek <tbzatek@users.sourceforge.net>2009-01-01 13:33:15 +0100
commit4d7022e3ed85369f8016ca7547ed310e8ee12a86 (patch)
treeb8c19833708bdffdc4ffd125862acca67a7d6537 /jpeg-utils.h
parentd928fd7db816c5eb6f57f90ebefb55779aebdcc9 (diff)
downloadcataract-4d7022e3ed85369f8016ca7547ed310e8ee12a86.tar.xz
Support for adding copyright
Diffstat (limited to 'jpeg-utils.h')
-rw-r--r--jpeg-utils.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/jpeg-utils.h b/jpeg-utils.h
index 7d05eab..9b8919f 100644
--- a/jpeg-utils.h
+++ b/jpeg-utils.h
@@ -76,7 +76,6 @@ gboolean resize_image (const char *src, const char *dst,
void get_image_sizes (const char *img,
unsigned long *width, unsigned long *height);
-
/*
* calculate_sizes: calculate maximal image sizes within specified limits keeping aspect ratio
*/
@@ -84,10 +83,10 @@ void calculate_sizes (const unsigned long max_width, const unsigned long max_hei
unsigned long *width, unsigned long *height);
/*
- * strip_thumbnail: strip thumbnail stored in EXIF table
+ * modify_exif: - strip thumbnail stored in EXIF table
+ * - add copyright to Exif::Image::Copyright and Iptc::Application2::Copyright
*/
-void strip_thumbnail (const char *filename);
-
+void modify_exif (const char *filename, gboolean strip_thumbnail, const char *add_copyright);
#ifdef __cplusplus