1EXIFTRAN(1)          Transform digital camera jpeg images          EXIFTRAN(1)
2
3
4

NAME

6       exiftran - transform digital camera jpeg images
7

SYNOPSIS

9       exiftran [options] file1 file2 ... fileN
10
11       exiftran -i [transform options] [others options] file1 file2 ... fileN
12
13       exiftran -o outputfile [transform options] [other options] inputfile
14
15       exiftran -d file1 file2 ... fileN > exifinfo
16

DESCRIPTION

18       Exiftran  is  a  command  line utility to transform digital camera jpeg
19       images. It can do lossless rotations like jpegtran(1), but unlike jpeg‐
20       tran(1)  it  cares  about the EXIF data: It can rotate images automati‐
21       cally by checking the exif orientation tag; it updates the exif  infor‐
22       mations  if  needed (image dimension, orientation); it also rotates the
23       exif thumbnail. It can process multiple images at once.
24

TRANSFORM OPTIONS

26       -a     Automatic (using exif orientation tag).
27
28       -9     Rotate by 90 degrees clockwise.
29
30       -1     Rotate by 180 degrees clockwise.
31
32       -2     Rotate by 270 degrees clockwise.
33
34       -f     Mirror image vertically (top / bottom).
35
36       -F     Mirror image horizontally (left to right).
37
38       -t     Transpose (across UL-to-LR corner).
39
40       -T     Transverse (across UR-to-LL corner).
41
42       -nt    Don't transform exif thumbnail.
43
44       -ni    Don't transform jpeg image. You  might  need  this  or  the  -nt
45              option  to  fixup  things in case you transformed the image with
46              some utility which ignores the exif thumbnail. Just generating a
47              new thumbnail with -g is another way to fix it.
48
49       -no    Don't  update  the orientation tag. By default exiftran sets the
50              orientation to "1" (no transformation  needed)  to  avoid  other
51              exif-aware  applications try to rotate the already-rotated image
52              again.
53
54       -np    Don't pare lost edges. By default exiftran don't preserve  image
55              size  of  the images that do not meet a multiple of 8 pixels. He
56              prefers to cut a strip of a few pixels rather  than  offering  a
57              damaged image. Use this option if you want them all the same.
58

OTHER OPTIONS

60       -h     Print a short help text.
61
62       -d     Dump exif data for the file(s).
63
64       -c text
65              Set jpeg comment tag to text.
66
67       -g     (re)generate exif thumbnail.
68
69       -o file
70              Specify  output  file.  Only  one  input file is allowed in this
71              mode.
72
73       -i     Enable in-place editing of the images.  Exiftran allows multiple
74              input  files then. You must specify either this option or a out‐
75              put file with -o for all operations which modify the image (i.e.
76              everything but -d right now).
77
78       -b     Create a backup file when doing in-place editing (imply -i).
79
80       -p     Preserve  timestamps (atime + mtime) when doing in-place editing
81              (imply -i).
82

EXAMPLES

84       Autorotate all jpeg files in the current directory:
85
86              exiftran -ai *.jpeg
87

SEE ALSO

89       exif(1), exiftags(1), jpegtran(1)
90

AUTHOR

92       Gerd Hoffmann <gerd@kraxel.org>
93
95       Copyright (c) 2002-2012 Gerd Hoffmann <gerd@kraxel.org>
96
97       This program is free software; you can redistribute it and/or modify it
98       under  the  terms of the GNU General Public License as published by the
99       Free Software Foundation; either version 2 of the License, or (at  your
100       option) any later version.
101
102       This  program  is  distributed  in the hope that it will be useful, but
103       WITHOUT ANY  WARRANTY;  without  even  the  implied  warranty  of  MER‐
104       CHANTABILITY  or  FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
105       Public License for more details.
106
107       You should have received a copy of the GNU General Public License along
108       with this program; if not, write to the Free Software Foundation, Inc.,
109       675 Mass Ave, Cambridge, MA 02139, USA.
110
111
112
113EXIFTRAN 2.09             (c) 2002-2012 Gerd Hoffmann              EXIFTRAN(1)
Impressum