Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

exif(n) [osx man page]

exif(n) 							   EXIF parsing 							   exif(n)

_________________________________________________________________

NAME
exif - Tcl EXIF extracts and parses EXIF fields from digital images SYNOPSIS
package require Tcl 8.2 package require exif ?1.1.2? exif::analyze channel ?thumbnail? exif::analyzeFile filename ?thumbnail? exif::fieldnames _________________________________________________________________ DESCRIPTION
The EXIF package is a recoding of Chris Breeze's Perl package to do the same thing. This version accepts a channel as input and returns a serialized array with all the recognised fields parsed out. There is also a function to obtain a list of all possible field names that might be present, which is useful in building GUIs that present such information. COMMANDS
exif::analyze channel ?thumbnail? channel should be an open file handle rewound to the start. It does not need to be seekable. channel will be set to binary mode and is left wherever it happens to stop being parsed, usually at the end of the file or the start of the image data. You must open and close the stream yourself. If no error is thrown, the return value is a serialized array with informative English text about what was found in the EXIF block. Failure during parsing or I/O throw errors. If thumbnail is present and not the empty string it will be interpreted as the name of a file, and the thumbnail image contained in the exif data will be written into it. exif::analyzeFile filename ?thumbnail? This is a file-based wrapper around exif::analyze. Instead of taking a stream it takes a filename and analyzes the contents of the specified file. exif::fieldnames This returns a list of all possible field names. That is, the array returned by exif::analyze will not contain keys that are not listed in the return from exif::fieldnames. Of course, if information is missing in the image file, exif::analyze may not return all the fields listed in the return from exif::fieldnames. This function is expected to be primarily useful for building GUIs to display results. N.B.: Read the implementation of exif::fieldnames before modifying the implementation of exif::analyze. COPYRIGHTS
(c) 2002 Darren New Hold harmless the author, and any lawful use is allowed. ACKNOWLEDGEMENTS
This code is a direct translation of version 1.3 of exif.pl by Chris Breeze. See the source for full headers, references, etc. BUGS, IDEAS, FEEDBACK This document, and the package it describes, will undoubtedly contain bugs and other problems. Please report such in the category exif of the Tcllib SF Trackers [http://sourceforge.net/tracker/?group_id=12883]. Please also report any ideas for enhancements you may have for either package and/or documentation. exif 1.1.2 exif(n)

Check Out this Related Man Page

exiftran(1)						      General Commands Manual						       exiftran(1)

NAME
exiftran - transform digital camera jpeg images SYNOPSIS
exiftran [ options ] file(s) DESCRIPTION
exiftran is a command line utility to transform digital image jpeg images. It can do lossless rotations like jpegtran, but unlike jpegtran it cares about the EXIF data: It can rotate images automatically by checking the exif orientation tag, it updates the exif informaton if needed (image dimension, orientation), it also rotates the exif thumbnail. It can process multiple images at once. TRANSFORM OPTIONS
-a automatic (using exif orientation tag) -9 rotate by 90 degrees clockwise -1 rotate by 180 degrees clockwise -2 rotate by 270 degrees clockwise -f flip vertical -F flip horizontal -t transpose -T transverse -nt Don't rotate exif thumbnail. -ni Don't rotate jpeg image. You might need this or or the -nt option to fixup things in case you rotated the image with some utility which ignores the exif thumbnail. Just generating a new thumbnail with -g is another way to fix it. -no Don't update the orientation tag. By default exiftran sets the orientation to "1" (no transformation needed) to avoid other exif- aware applications try to rotate the already-rotated image again. OTHER OPTIONS
-h print a short help text -d Dump exif data for the file(s). -c <text> Set jpeg comment tag to <text>. -g (re)generate EXIF thumbnail. -o <file> Specify output file. Only one input file is allowed in this mode. -i Enable inplace editing of the images. Exiftran allows multiple input files then. You must specify either this option or a output file with -o for all operations which modify the image (i.e. everything but -d right now). -b Create a backup file when doing inplace editing. -p Preserve timestamps (atime + mtime) when doing inplace editing. EXAMPLES
Autorotate all jpeg files in the current directory: exiftran -ai *.jpeg SEE ALSO
jpegtran(1), exif(1) AUTHOR
Gerd Knorr <kraxel@bytesex.org> COPYRIGHT
Copyright (C) 2002 Gerd Knorr <kraxel@bytesex.org> This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MER- CHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. (c) 2003,04 Gerd Knorr exiftran(1)
Man Page