From owner-freebsd-questions@FreeBSD.ORG Fri Aug 24 11:07:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 53335106566B for ; Fri, 24 Aug 2012 11:07:40 +0000 (UTC) (envelope-from bah@bananmonarki.se) Received: from feeder.usenet4all.se (1-1-1-38a.far.sth.bostream.se [82.182.32.53]) by mx1.freebsd.org (Postfix) with ESMTP id 7D4CC8FC0A for ; Fri, 24 Aug 2012 11:07:38 +0000 (UTC) Received: from kw.news4all.se (c80-217-70-175.bredband.comhem.se [80.217.70.175]) by feeder.usenet4all.se (8.13.1/8.13.1) with ESMTP id q7OB7Uln042043; Fri, 24 Aug 2012 13:07:31 +0200 (CEST) (envelope-from bah@bananmonarki.se) Message-ID: <50375FE5.7000809@bananmonarki.se> Date: Fri, 24 Aug 2012 13:05:09 +0200 From: Bernt Hansson User-Agent: Mozilla/5.0 (X11; FreeBSD i386; rv:14.0) Gecko/20120808 Thunderbird/14.0 MIME-Version: 1.0 To: freebsd@dreamchaser.org References: <5035C6E8.3050108@dreamchaser.org> <20120823163839.e2cf7432.freebsd@edvax.de> <503664E3.8060808@dreamchaser.org> In-Reply-To: <503664E3.8060808@dreamchaser.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: Polytropon , FreeBSD Mailing List Subject: Re: EXIF inspector X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 24 Aug 2012 11:07:40 -0000 2012-08-23 19:14, Gary Aitken skrev: > On 08/23/12 08:38, Polytropon wrote: >> On Thu, 23 Aug 2012 00:00:08 -0600, Gary Aitken wrote: >>> For the photo folks -- >>> >>> What do you use for inspecting EXIF data? >>> I've tried >>> exif >>> exiftags >>> exifprobe >>> and none of them show the full compliment of tags present on my oly pen-ep3. >>> In particular, they omit most of the vendor specific stuff, >>> and they seem to display different parts of things, but not everything. >> >> I've been using exiv2 (port graphics/exiv2) which fits my needs. >> Here's an example of its output: >> >> % exiv2 cam/img_6842.jpg >> File name : cam/img_6842.jpg >> File size : 2887326 Bytes >> MIME type : image/jpeg >> Image size : 2816 x 2112 >> Camera make : Canon >> Camera model : Canon PowerShot S3 IS >> Image timestamp : 2011:08:19 09:14:42 >> Image number : 120-6842 >> Exposure time : 1/50 s >> Aperture : F2.7 >> Exposure bias : 0 EV >> Flash : No, red-eye reduction >> Flash bias : 0 EV >> Focal length : 6.0 mm >> Subject distance: 68 >> ISO speed : 100 >> Exposure mode : Easy shooting (Auto) >> Metering mode : Multi-segment >> Macro mode : Off >> Image quality : Fine >> Exif Resolution : 2816 x 2112 >> White balance : Auto >> Thumbnail : image/jpeg, 5981 Bytes >> Copyright : >> Exif comment : >> >> See "man exiv2" for details. It's a really versatile program >> which can be excellently integrated into scripts. >> >> In case you need more info from a photo file, use the "strings" >> utility provided by the system and parse its output. > > Thanks > This is rather weird. > > I had tried exiv2 and concluded it did not report everything because on a > windows system I had previously used PhotoME to ascertain that the image > stabilization parameter for my camera was in a field whose tag name was > "ImageQuality3", and exiv2 does not report anything with "uality" in it. > However, I now see that it does report a string called "Exif.OlympusCs.ImageStabilization" of the same type with the corresponding > value. > > Strings reports neither tag. > That makes sense, since exif tags are numerically encoded and not text, > so I don't think strings is particularly useful. > > Upon further investigation, it appears that the choice of string to print > for a tag is probably a translation provided by the program, not the image file. > A strings on /usr/local/lib/libexiv2.so.10 shows: > Image stabilization > ImageStabilization > Image Stabilization for the Sony DSLR-A100 > Image stabilization data > Image Stabilization Data > ImageStabilizationData > Image Stabilization A100 > ImageStabilizationA100 > Digital Image Stabilization > and also specific tags for different camera manufacturers, e.g. > Exif.OlympusCs. > etc. > > bah -- > exif doesn't report all the tags Try exif -l filename and it will show you all exif fields and the fields that's in the picture. From man exif -l, --list-tags List all known EXIF tags and IFDs. A JPEG image must be pro- vided, and those tags which appear in the file are shown with an asterisk in the corresponding position in the list. > warren -- > thanks, I thought I tried p5-Image-ExifTool but in looking back at my notes > I have a thing that says "install ExifTool" and its not there so obviously I > didn't to that. Will check it if exiv2 doesn't work out. > > Gary > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" > >