aboutsummaryrefslogtreecommitdiffstats
path: root/jpegtools.h
diff options
context:
space:
mode:
authorStéphane Aulery <saulery@free.fr>2014-10-24 01:42:35 +0200
committerGerd Hoffmann <kraxel@redhat.com>2014-10-27 13:37:19 +0100
commit19bd17fa608f782c23b1ac50987e741d85668d5b (patch)
tree97e06950ba7c7c736024bf121c87e1bfecdfefe4 /jpegtools.h
parent7c306c30d8e620759d236cb3bc13c90a6c57ca23 (diff)
downloadfbida-19bd17fa608f782c23b1ac50987e741d85668d5b.tar.gz
Trimming pictures by default
By default, crop images with unconventional dimensions. Adds an option (-np) to disable this behavior. Signed-off-by: Stéphane Aulery <saulery@free.fr> Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Diffstat (limited to 'jpegtools.h')
-rw-r--r--jpegtools.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/jpegtools.h b/jpegtools.h
index 78035b0..964f3c3 100644
--- a/jpegtools.h
+++ b/jpegtools.h
@@ -2,6 +2,7 @@
/* various flags */
#define JFLAG_TRANSFORM_IMAGE 0x0001
#define JFLAG_TRANSFORM_THUMBNAIL 0x0002
+#define JFLAG_TRANSFORM_TRIM 0x0004
#define JFLAG_UPDATE_COMMENT 0x0010
#define JFLAG_UPDATE_ORIENTATION 0x0020