Originally Posted by Colin500
I know my way around the UNIX shell. What's the command that returns the model of camera used for an image file?
Originally Posted by Colin500
I know my way around the UNIX shell. What's the command that returns the model of camera used for an image file?
We're a Canon/Profoto family: five cameras, sixteen lenses, fifteen Profoto lights, too many modifiers.
Originally Posted by peety3
There are probably several possibilities, for me the following was the easiest:
A) Install the developer tools with XCode and gcc (I need them anyhow).
B) Install MacPorts fromhttp://www.macports.org/ (I need that anyhow, too).
C) Install the "exif" port, and enjoy:
<pre>colin@tigger# exif IMG_0006.JPG
EXIF tags in 'IMG_0006.JPG' ('Intel' byte order):
--------------------+----------------------------------------------------------
Tag |Value
--------------------+----------------------------------------------------------
Manufacturer |Canon
Model |Canon PowerShot G1
Orientation |top - left
x-Resolution |180.00
y-Resolution |180.00
Resolution Unit |Inch
Date and Time |2001:02:19 17:42:30
YCbCr Positioning |centered
Compression |JPEG compression
x-Resolution |180.00
y-Resolution |180.00
Resolution Unit |Inch
Exposure Time |1/8 sec.
FNumber |f/2.0
Exif Version |Exif Version 2.1
Date and Time (origi|2001:02:19 17:42:30
Date and Time (digit|2001:02:19 17:42:30
Components Configura|Y Cb Cr -
Compressed Bits per |3.00
Shutter speed |3.00 EV (APEX: 2, 1/8 sec.)
Aperture |2.00 EV (f/2.0)
Exposure Bias |-1.00 EV
MaxApertureValue |2.00 EV (f/2.0)
Subject Distance |0.7 m
Metering Mode |Center-Weighted Average
Flash |Flash did not fire.
Focal Length |7.0 mm
Maker Note |384 bytes undefined data
User Comment |
FlashPixVersion |FlashPix Version 1.0
Color Space |sRGB
PixelXDimension |2048
PixelYDimension |1536
Focal Plane x-Resolu|7366.91
Focal Plane y-Resolu|7349.28
Focal Plane Resoluti|Inch
Sensing Method |One-chip color area sensor
File Source |DSC
InteroperabilityInde|R98
InteroperabilityVers|0100
RelatedImageWidth |2048
RelatedImageLength |1536
--------------------+----------------------------------------------------------
EXIF data contains a thumbnail (3122 bytes).
colin@tigger#
</pre>
Colin