Date-time format & Spatial Frequency Response & SBA Exposure Record output

Started by Archive, May 12, 2010, 08:53:53 AM

Previous topic - Next topic

Archive

[Originally posted by phpmonkey on 2006-04-10 10:10:50-07]

Hello, me again!  I've noticed a few things...

1 - First of all, concerning date/time format.

Specifying -d %F converts all date/time tags to the format year-month-day, which is how I'd like it to be output.

However, it will not convert date tags, which always show up as year:month:day

Is there a way to change the syntax of these ones?

For example, the IPTC tags "Date created" & "Release date" are in date format
(see http://derekdesign.com/images/exiftool2.png for a screenshot), I'd like them also to be able to be shown as year-month-day (important for insertion into a postgres database).

If this is not possible, I can try & do some manipulation of the data after it has been read by ExifTool Smiley

2 - Next, concerning Spatial Frequency Response  & SBA Exposure Record output

I have some trouble displaying these.... you might see why if you take a look at their values in the following screenshot: http://derekdesign.com/images/exiftool1.png

Is this trying to display binary data or something wacky? I know ExifTool doesn't display that, normally.

Any insights would be very appreciated.

Thanks again for a great tool!

Jenny aka phpmonkey

Archive

[Originally posted by exiftool on 2006-04-10 11:50:50-07]

Hi Jenny,

As you discovered, the date/time conversion doesn't apply to date-only (or time-only) tags.  This isn't easy without introducing two more format options, one for date-only and one for time-only.  (Because I can't easily separate the date and/or time parts from the output of the POSIX strftime function.)  And leaving them in could be confusing, because this would add a dummy time to date-only tags and visa versa.  If anyone has some smart ideas I'd like to hear them, but I can't figure out an easy way around this.

About the binary data in the two tags from your Kodak scanner.  Yes, ExifTool is displaying the binary data (with unprintable characters converted to '.').  The SpatialFrequencyResponse is well documented, but is a variable-sized table of numbers which may be rather large.  For this tag, I haven't figured out a good way of displaying this information.  If you want to use this information, extract with the -n (PrintConv = 0) option and decode the binary table yourself.  Again, if anyone has any ideas about how this should be displayed, I'd love to hear them.

The SBAExposureRecord is a really obscure Kodak tag for which I have no documentation.  I am simply displaying these tags in raw form.

Sorry that there are no simple solutions to your problems.  I'm not saying they can't be solved, just that I haven't yet found a reasonable solution.

- Phil

Archive

[Originally posted by exiftool on 2006-04-10 13:30:04-07]

Just for fun, I tried adding a simple print conversion for SpatialFrequencyResponse.  I'm decoding it as a single tag, so the output can be a bit lengthy. Even so, this may be an improvement over the current binary output.

I have uploaded a 6.14 pre-release if you want to try it out.