1exiftran(1)                 General Commands Manual                exiftran(1)
2
3
4

NAME

6       exiftran - transform digital camera jpeg images
7

SYNOPSIS

9       exiftran [ options ] file(s)
10

DESCRIPTION

12       exiftran  is  a  command  line  utility to transform digital image jpeg
13       images.  It can do lossless rotations like jpegtran, but  unlike  jpeg‐
14       tran  it  cares about the EXIF data: It can rotate images automatically
15       by checking the exif orientation tag, it updates the exif informaton if
16       needed  (image dimension, orientation), it also rotates the exif thumb‐
17       nail.  It can process multiple images at once.
18

TRANSFORM OPTIONS

20       -a     automatic (using exif orientation tag)
21
22       -9     rotate by 90 degrees
23
24       -1     rotate by 180 degrees
25
26       -2     rotate by 270 degrees
27
28       -f     flip vertical
29
30       -F     flip horizontal
31
32       -t     transpose
33
34       -T     transverse
35
36       -nt    Don't rotate exif thumbnail.
37
38       -ni    Don't rotate jpeg image. You might  need  this  or  or  the  -nt
39              option  to  fixup things in case you rotated the image with some
40              utility which ignores the exif thumbnail. Just generating a  new
41              thumbnail with -g is another way to fix it.
42
43       -no    Don't  update the orientation tag.  By default exiftran sets the
44              orientation to "1" (no transformation  needed)  to  avoid  other
45              exif-aware  applications try to rotate the already-rotated image
46              again.
47

OTHER OPTIONS

49       -h     print a short help text
50
51       -d     Dump exif data for the file(s).
52
53       -c <text>
54              Set jpeg comment tag to <text>.
55
56       -g     (re)generate EXIF thumbnail.
57
58       -o <file>
59              Specify output file.  Only one input file  is  allowed  in  this
60              mode.
61
62       -i     Enable  inplace editing of the images.  Exiftran allows multiple
63              input files then.  You must specify either this option or a out‐
64              put file with -o for all operations which modify the image (i.e.
65              everything but -d right now).
66
67       -b     Create a backup file when doing inplace editing.
68
69       -p     Preserve timestamps (atime + mtime) when doing inplace editing.
70

EXAMPLES

72       Autorotate all jpeg files in the current directory:
73          exiftran -ai *.jpeg
74

SEE ALSO

76       jpegtran(1), exif(1)
77

AUTHOR

79       Gerd Knorr <kraxel@bytesex.org>
80
82       Copyright (C) 2002 Gerd Knorr <kraxel@bytesex.org>
83
84       This program is free software; you can redistribute it and/or modify it
85       under  the  terms of the GNU General Public License as published by the
86       Free Software Foundation; either version 2 of the License, or (at  your
87       option) any later version.
88
89       This  program  is  distributed  in the hope that it will be useful, but
90       WITHOUT ANY  WARRANTY;  without  even  the  implied  warranty  of  MER‐
91       CHANTABILITY  or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General
92       Public License for more details.
93
94       You should have received a copy of the GNU General Public License along
95       with this program; if not, write to the Free Software Foundation, Inc.,
96       675 Mass Ave, Cambridge, MA 02139, USA.
97
98
99
100                            (c) 2003,04 Gerd Knorr                 exiftran(1)
Impressum