AminetAminet
Search:
84729 packages online
About
Recent
Browse
Search
Upload
Setup
Services

gfx/conv/jhead-mos.lha

Mirror:Random
Showing:m68k-amigaosppc-amigaosppc-morphosi386-arosi386-amithlonppc-warpupppc-powerupgeneric
No screenshot available
Short:Manipulate non-image parts of Exif JPEG
Author:matthias at woodgears.ca (Matthias Wandel), port by uploader
Uploader:polluks+aminet sdf lonestar org (Stefan Haubenthal)
Type:gfx/conv
Version:3.03
Architecture:ppc-morphos; m68k-amigaos
URL:http://www.sentex.net/~mwandel/jhead/
Date:2019-06-20
Download:http://aminet.net/gfx/conv/jhead-mos.lha - View contents
Readme:http://aminet.net/gfx/conv/jhead-mos.readme
Downloads:3145

Jhead is a program for manipulating settings and thumbnails in Exif jpeg headers
used by most Digital Cameras.  v3.03 Matthias Wandel, Dec 31 2018.
http://www.sentex.net/~mwandel/jhead

Usage: jhead [options] files
Where:
 files       path/filenames with or without wildcards
[options] are:

GENERAL METADATA:
  -te <name> Transfer exif header from another image file <name>
             Uses same name mangling as '-st' option
  -dc        Delete comment field (as left by progs like Photoshop & Compupic)
  -de        Strip Exif section (smaller JPEG file, but lose digicam info)
  -di        Delete IPTC section (from Photoshop, or Picasa)
  -dx        Deletex XMP section
  -du        Delete non image sections except for Exif and comment sections
  -purejpg   Strip all unnecessary data from jpeg (combines -dc -de and -du)
  -mkexif    Create new minimal exif section (overwrites pre-existing exif)
  -ce        Edit comment field.  Uses environment variable 'editor' to
             determine which editor to use.  If editor not set, uses VI
             under Unix and notepad with windows
  -cs <name> Save comment section to a file
  -ci <name> Insert comment section from a file.  -cs and -ci use same naming
             scheme as used by the -st option
  -cl string Insert literal comment string
  -zt        Trim exif header trailing zeroes (Nikon 1 wastes 30k that way)

DATE / TIME MANIPULATION:
  -ft        Set file modification time to Exif time
  -dsft      Set Exif time to file modification time
  -n[format-string]
             Rename files according to date.  Uses exif date if present, file
             date otherwise.  If the optional format-string is not supplied,
             the format is mmdd-hhmmss.  If a format-string is given, it is
             is passed to the 'strftime' function for formatting
             %d Day of month    %H Hour (24-hour)
             %m Month number    %M Minute    %S Second
             %y Year (2 digit 00 - 99)        %Y Year (4 digit 1980-2036)
             For more arguments, look up the 'strftime' function.
             In addition to strftime format codes:
             '%f' as part of the string will include the original file name
             '%i' will include a sequence number, starting from 1. You can
             You can specify '%03i' for example to get leading zeros.
             This feature is useful for ordering files from multiple digicams to
             sequence of taking.  Only renames files whose names are mostly
             numerical (as assigned by digicam)
             The '.jpg' is automatically added to the end of the name.  If the
             destination name already exists, a letter or digit is added to
             the end of the name to make it unique.
             The new name may include a path as part of the name.  If this path
             does not exist, it will be created
  -a         (Windows only) Rename files with same name but different extension
             Use together with -n to rename .AVI files from exif in .THM files
             for example
  -ta<+|->h[:mm[:ss]]
             Adjust time by h:mm forwards or backwards.  Useful when having
             taken pictures with the wrong time set on the camera, such as when
             traveling across time zones or DST changes. Dates can be adjusted
             by offsetting by 24 hours or more.  For large date adjustments,
             use the -da option
  -da<date>-<date>
             Adjust date by large amounts.  This is used to fix photos from
             cameras where the date got set back to the default camera date
             by accident or battery removal.
             To deal with different months and years having different numbers of
             days, a simple date-month-year offset would result in unexpected
             results.  Instead, the difference is specified as desired date
             minus original date.  Date is specified as yyyy:mm:dd or as date
             and time in the format yyyy:mm:dd/hh:mm:ss
  -ts<time>  Set the Exif internal time to <time>.  <time> is in the format
             yyyy:mm:dd-hh:mm:ss
  -tf file   Set the exif time to the modicfation time from another file
  -ds<date>  Set the Exif internal date.  <date> is in the format YYYY:MM:DD
             or YYYY:MM or YYYY

THUMBNAIL MANIPULATION:
  -dt        Remove exif integral thumbnails.   Typically trims 10k
  -st <name> Save Exif thumbnail, if there is one, in file <name>
             If output file name contains the substring "&i" then the
             image file name is substitute for the &i.  Note that quotes around
             the argument are required for the '&' to be passed to the program.
             An output name of '-' causes thumbnail to be written to stdout
  -rt <name> Replace Exif thumbnail.  Can only be done with headers that
             already contain a thumbnail.
  -rgt[size] Regnerate exif thumbnail.  Only works if image already
             contains a thumbail.  size specifies maximum height or width of
             thumbnail.  Relies on 'mogrify' programs to be on path

ROTATION TAG MANIPULATION:
  -autorot   Invoke jpegtran to rotate images according to Exif orientation tag
             anc clear Exif orientation tag
             Note: Windows users must get jpegtran for this to work
  -norot     Zero out the rotation tag.  This to avoid some browsers from
             rotating the image again after you rotated it but neglected to
             clear the rotation tag

OUTPUT VERBOSITY CONTROL:
  -h         help (this text)
  -v         even more verbose output
  -q         Quiet (no messages on success, like Unix)
  -V         Show jhead version
  -exifmap   Dump header bytes, annotate.  Pipe thru sort for better viewing
  -se        Supress error messages relating to corrupt exif header structure
  -c         concise output
  -nofinfo   Don't show file info (name/size/date)

FILE MATCHING AND SELECTION:
  -model model
             Only process files from digicam containing model substring in
             camera model description
  -exonly    Skip all files that don't have an exif header (skip all jpegs that
             were not created by digicam)
  -quality x Only work on images with JPEG quality factor x or higher
  -cmd command
             Apply 'command' to every file, then re-insert exif and command
             sections into the image. &i will be substituted for the input file
             name, and &o (if &o is used). Use quotes around the command string
             This is most useful in conjunction with the free ImageMagick tool.
             For example, with my Canon S100, which suboptimally compresses
             jpegs I can specify
                jhead -cmd "mogrify -quality 80 &i" *.jpg
             to re-compress a lot of images using ImageMagick to half the size,
             and no visible loss of quality while keeping the exif header
             Another invocation I like to use is jpegtran (hard to find for
             windows).  I type:
                jhead -cmd "jpegtran -progressive &i &o" *.jpg
             to convert jpegs to progressive jpegs (Unix jpegtran syntax
             differs slightly)
  -orp       Only operate on 'portrait' aspect ratio images
  -orl       Only operate on 'landscape' aspect ratio images


Contents of gfx/conv/jhead-mos.lha
 PERMSSN    UID  GID    PACKED    SIZE  RATIO METHOD CRC     STAMP          NAME
---------- ----------- ------- ------- ------ ---------- ------------ -------------
[generic]                 4704   11291  41.7% -lh5- 4da8 Dec 31 20:45 jhead-3.03/changes.txt
[generic]                15133   62372  24.3% -lh5- 194c Dec 31 20:45 jhead-3.03/exif.c
[generic]                 2072    7189  28.8% -lh5- 1dca Dec 31 20:45 jhead-3.03/gpsinfo.c
[generic]                 2397    8763  27.4% -lh5- bcb4 Dec 31 20:45 jhead-3.03/iptc.c
[generic]                 6447   15947  40.4% -lh5- fde3 Dec 31 20:45 jhead-3.03/jhead.1
[generic]                18156   64684  28.1% -lh5- 23dc Dec 31 20:45 jhead-3.03/jhead.c
[generic]                 2884    8157  35.4% -lh5- a848 Dec 31 20:45 jhead-3.03/jhead.h
[generic]                 5999   24687  24.3% -lh5- 67e7 Dec 31 20:45 jhead-3.03/jpgfile.c
[generic]                 2303    7060  32.6% -lh5- d49c Dec 31 20:45 jhead-3.03/jpgqguess.c
[generic]                   23      23 100.0% -lh0- 517e Dec 31 20:45 jhead-3.03/make.bat
[generic]                  249     479  52.0% -lh5- 1058 Dec 31 20:45 jhead-3.03/makefile
[generic]                  284     707  40.2% -lh5- a95a Dec 31 20:45 jhead-3.03/makefile-win32
[generic]                 2011    7001  28.7% -lh5- 2063 Dec 31 20:45 jhead-3.03/makernote.c
[generic]                 2488    8628  28.8% -lh5- 5538 Dec 31 20:45 jhead-3.03/myglob.c
[generic]                 1244    4006  31.1% -lh5- c563 Dec 31 20:45 jhead-3.03/paths.c
[generic]                 1141    2285  49.9% -lh5- a358 Dec 31 20:45 jhead-3.03/readme.txt
[generic]                 8775   23905  36.7% -lh5- cadf Dec 31 20:45 jhead-3.03/usage.html
[generic]                44195   91744  48.2% -lh5- 086e Jun 20 21:49 jhead-3.03/jhead
[generic]                47297   96300  49.1% -lh5- 2278 Jun 20 22:06 jhead-3.03/jhead.68k
---------- ----------- ------- ------- ------ ---------- ------------ -------------
 Total        19 files  167802  445228  37.7%            Jun 20 21:12

Page generated in 0.02 seconds
Aminet © 1992-2024 Urban Müller and the Aminet team. Aminet contact address: <aminetaminet net>