EXIF tag "ImageDate" & AppleScript

Need some help with a script please! If
(the current date)
returns
date "Wednesday, February 2, 2011 3:16:25 PM"
day of (the current date)
returns
2
tell image version 1
value of EXIF tag "ImageDate"
end tell
returns
date "Friday, November 26, 2010 5:28:42 PM"
WHY DOES
tell image version 1
day of (value of EXIF tag "ImageDate")
end tell
return
error "Aperture got an error: Can’t make day of value of EXIF tag \"ImageDate\" of image version 1 into type specifier." number -1700 from day of value of EXIF tag "ImageDate" of image version 1 to specifier
I understand that if I set a imageDate to the (value of EXIF tag "ImageDate") I can extract the info, but I am trying to use a statement like
get every image version of project id projSel whose day of (value of EXIF tag "ImageDate") is 2
Thanks for the time.

I'm going to do this a different way...
  -- based on http://macscripter.net/viewtopic.php?pid=137055#p137055
                                                  set theDate to value of EXIF tag "ImageDate"
                                                  set theYear to year of theDate
                                                  set theMonth to month of theDate as integer as string
                                                  if length of theMonth is 1 then
                                                            set theMonth to "0" & theMonth
                                                  end if
                                                  set theDay to day of theDate as integer as string
                                                  if length of theDay is 1 then
                                                            set theDay to "0" & theDay
                                                  end if
                                                  set newDate to theDay & "/" & theMonth & "/" & theYear as string
  make new custom tag with properties {name:"My Date", value:newDate}

Similar Messages

  • Reading EXIF Tag Attributes

    Image FIles have Properties like Width, Height, Duration, Bit Rate, Date Created, Date Modified, Date Picture Taken etc.
    I need to read these attributes ( EXIF Tag ) of these Image Files before uploading them and storing them separately in the SAP system. Does anyone know how this can be achieved thro ABAP please
    Thanx in adavance

    I doubt you'll find something like that in ABAP. If I were you, I would try to execute a command-line third-party application from ABAP.
    You can use for instance [ExifTool|http://www.sno.phy.queensu.ca/~phil/exiftool/]. I use it to work on my personal photo collections and works very well reading exif tags information, and can be used in both Linux and Windows, in case you need to save it within the Application Server.
    Cheers,
    Andres.

  • Import EXIF tag to new App Yosemite Photos

    Hi
    I have custom metadata EXIF tag in my photos, how can i import to keywords in the new App Photos ?
    it's works for dataTime et GPS position (in EXIF metadata).
    Thanks
    Francois

    I am still missing these photos. Any suggestions out there?

  • EXIF tag used as 'Description'

    What EXIF tag does iPhoto 09 use as description when I import JPGs? With iPhoto 08 it worked when I set the 'Object Name' before importing but since I upgraded to 09 that does no longer work
    I can still see the description for photos I imported when I still had 08, all that I imported with 09 have no description set.
    Any ideas?

    Added the tags using exiftool, below are all the tags set on my test.jpg file:
    ExifTool Version Number : 7.44
    File Name : test.jpg
    Directory : .
    File Size : 382 kB
    File Modification Date/Time : 2009:02:19 19:48:14-08:00
    File Type : JPEG
    MIME Type : image/jpeg
    JFIF Version : 1.01
    Coded Character Set : UTF8
    Application Record Version : 2
    Object Name : Flagpole on the Coney Island beach
    Country-Primary Location Name : United States
    Province-State : New York
    City : Brooklyn
    Caption-Abstract : Flagpole on the Coney Island beach
    Profile CMM Type : Lino
    Profile Version : 2.1.0
    Profile Class : Display Device Profile
    Color Space Data : RGB
    Profile Connection Space : XYZ
    Profile Date Time : 1998:02:09 06:49:00
    Profile File Signature : acsp
    Primary Platform : Microsoft Corporation
    CMM Flags : Not Embedded, Independent
    Device Manufacturer : IEC
    Device Model : sRGB
    Device Attributes : Reflective, Glossy, Positive, Color
    Rendering Intent : Media-Relative Colorimetric
    Connection Space Illuminant : 0.9642 1 0.82491
    Profile Creator : HP
    Profile ID : 0
    Profile Copyright : Copyright (c) 1998 Hewlett-Packard Company
    Profile Description : sRGB IEC61966-2.1
    Media White Point : 0.95045 1 1.08905
    Media Black Point : 0 0 0
    Red Matrix Column : 0.43607 0.22249 0.01392
    Green Matrix Column : 0.38515 0.71687 0.09708
    Blue Matrix Column : 0.14307 0.06061 0.7141
    Device Mfg Desc : IEC http://www.iec.ch
    Device Model Desc : IEC 61966-2.1 Default RGB colour space - sRGB
    Viewing Cond Desc : Reference Viewing Condition in IEC61966-2.1
    Viewing Cond Illuminant : 19.6445 20.3718 16.8089
    Viewing Cond Surround : 3.92889 4.07439 3.36179
    Viewing Cond Illuminant Type : D50
    Luminance : 76.03647 80 87.12462
    Measurement Observer : CIE 1931
    Measurement Backing : 0 0 0
    Measurement Geometry : Unknown (0)
    Measurement Flare : 0.999%
    Measurement Illuminant : D65
    Technology : Cathode Ray Tube Display
    Red Tone Reproduction Curve : (Binary data 2060 bytes, use -b option to extract)
    Green Tone Reproduction Curve : (Binary data 2060 bytes, use -b option to extract)
    Blue Tone Reproduction Curve : (Binary data 2060 bytes, use -b option to extract)
    Exif Byte Order : Big-endian (Motorola, MM)
    Photometric Interpretation : BlackIsZero
    Image Description : OLYMPUS DIGITAL CAMERA
    Make : OLYMPUS IMAGING CORP.
    Camera Model Name : E-510
    Orientation : Horizontal (normal)
    X Resolution : 72
    Y Resolution : 72
    Resolution Unit : inches
    Software : Version 1.3
    Modify Date : 2008:10:18 13:00:33
    Exposure Time : 1/250
    F Number : 10.0
    Exposure Program : Creative (Slow speed)
    ISO : 100
    Exif Version : 0221
    Date/Time Original : 2008:10:18 13:00:33
    Create Date : 2008:10:18 13:00:33
    Exposure Compensation : 0
    Max Aperture Value : 3.5
    Metering Mode : Multi-segment
    Light Source : Unknown
    Flash : Auto, Did not fire
    Focal Length : 17.0 mm
    Flashpix Version : 0100
    Color Space : sRGB
    Exif Image Width : 2243
    Exif Image Height : 2995
    Custom Rendered : Normal
    Exposure Mode : Auto
    White Balance : Auto
    Digital Zoom Ratio : 1
    Scene Capture Type : Standard
    Gain Control : None
    Contrast : Normal
    Saturation : Normal
    Sharpness : Normal
    GPS Version ID : 2.2.0.0
    GPS Latitude Ref : North
    GPS Longitude Ref : West
    GPS Altitude Ref : Above Sea Level
    GPS Time Stamp : 17:00:35
    GPS Map Datum : WGS-84
    Image Width : 2243
    Image Height : 2995
    Encoding Process : Baseline DCT, Huffman coding
    Bits Per Sample : 8
    Color Components : 3
    Y Cb Cr Sub Sampling : YCbCr4:2:0 (2 2)
    Aperture : 10.0
    GPS Altitude : 5 m Above Sea Level
    GPS Latitude : 40 deg 34' 22.20" N
    GPS Longitude : 73 deg 58' 50.40" W
    GPS Position : 40 deg 34' 22.20" N, 73 deg 58' 50.40" W
    Image Size : 2243x2995
    Shutter Speed : 1/250
    Focal Length : 17.0 mm
    Light Value : 14.6
    Preview recognizes the tag correctly, only iPhoto does no longer do.
    What are your import settings? Do you copy items into the iPhoto library?

  • Lightroom version number in Exif tag "Software"

    Since today I'm using "Lightroom 5.3 RC for Windows". When I export to jpg the Exif meta data contain a Exif tag "Software", the value is "Adobe Photoshop Lightroom 5.0 (Windows)". Why doesn't this tag show the version number "5.3" (or "5.3 RC")?
    This behaviour has been at all prior Lightroom versions I know.
    Kind regards,
    Eckhard

    I could verify, the bug has been fixed in the final 5.3 version. Thanks!

  • Display format for Exif Tag: ExposureTime

    Hello,
    I'm a user of Adobe Photoshop Elements 3.0, in which the image editor component displays "File Info" (Exif and XMP information) embedded in the image file using the Adobe Photoshop Information Panels, which are XMP files (
    DOCTYPE panel SYSTEM "http://ns.adobe.com/custompanels/1.0").
    Unfortunately, my camera embeds the Exif tag
    ExposureTime instead of the Exif tag
    ShutterSpeedValue.
    In the camera1.txt XMP panel file, the ShutterSpeedValue field is defined as (the Adobe Forum Web UI will break the formatting)
    static_text(name: '$$$/AWS/FileInfoLib/Panels/Camera1/ShutterSpeed=Shutter Speed:', font: font_big_right, vertical: align_center);
    edit_number(format: apex_shutterspeed,  precision: 2, format_addin: '$$$/AWS/FileInfoLib/Panels/Camera1/ShutterSpeedFormat=^0 sec',locked: true, horizontal: align_fill, xmp_ns_prefix: 'exif', xmp_namespace: 'http://ns.adobe.com/exif/1.0/', xmp_path: 'ShutterSpeedValue');
    I changed this to:
    static_text(name: '$$$/AWS/FileInfoLib/Panels/Camera1/ShutterSpeed=Shutter Speed:', font: font_big_right, vertical: align_center);
    edit_number(format: decimal,  precision: 4, format_addin: '$$$/AWS/FileInfoLib/Panels/Camera1/ShutterSpeedFormat=^0 sec',locked: true, horizontal: align_fill, xmp_ns_prefix: 'exif', xmp_namespace: 'http://ns.adobe.com/exif/1.0/', xmp_path: 'ExposureTime');
    in order to display the correct Exif tag.
    But how can I display the usual reciprocal shutter speed format ("1/160th sec") instead of the decimal format ("0.0063 sec")?
    Any help much appreciated!

    Don't know about the display format problem ... but there seems to be another quirk. Obviously you are confusing shutter speed with shutter speed value. These are two different things. The shutter speed value is the inverted base-two logarithm of the shutter speed in seconds. Example: shutter speed = 1/128 s --> shutter speed value = 7.
    By the way, there's a similar difference between aperture and aperture value; the latter is twice the base-two logarithm of the f-stop number. Example: aperture = f/8 --> aperture value = 6.
    -- Olaf

  • EXIF Tag problem / unknown lens

    Hi everyone,
    I imported a few raw files in lightroom 3.4.1 (mac version, but this is irrelevant), all of them are from Sony cameras and different lenses.
    From the command line, exiftool always reports the correct camera model/lens, but lightroom often does not.
    From the exiftool documentation, it seems that Sony has a specific EXIF tag for the lens model, called "LensID".
    However when LR generates the xmp, it does write some lens information in it, but I cannot understand where it reads from.
    For example, I run a sample query on a raw file, which LR correctly identifies, asking all possible lens-related fields:
    exiftool -Lens -LensID -LensModel -LensType -LensMake -LensSerialNumber _DSC0350.ARW
    Lens ID                         : Carl Zeiss Vario-Sonnar T* DT 16-80mm F3.5-4.5 ZA
    Lens Type                     : Carl Zeiss Vario-Sonnar T* DT 16-80mm F3.5-4.5 ZA
    and in the corresponding xmp file I have:
      <aux:Lens>DT 16-80mm F3.5-4.5 ZA</aux:Lens>
      <aux:LensID>46</aux:LensID>
    and if I query directly the xmp file (which exiftool can do):
    exiftool -Lens -LensID -LensModel -LensType -LensMake -LensSerialNumber _DSC0350.xmp
    Lens                            : DT 16-80mm F3.5-4.5 ZA
    Lens ID                        : Carl Zeiss Vario-Sonnar T* DT 16-80mm F3.5-4.5 ZA
    So, the LR-generated "Lens" field in xmp is a *different* string.
    If I repeat the same procedure on some different raw files (from different sony cameras), I get different results: most times the xmp contains no lens field, and LR says "unknown lens", even if the ARW does contain the same information shown above.
    If I manually fix the xmp with exiftool and I force LR to reload metadata from files, then I get the lens identified.
    Is it possible to fix this situation somehow?

    In my opinion, it is not possible to get a reliable lens identification with Sony/Minolta cameras unless you have a lens lookup list which fits your actual lens collection. So that means that you either have to buy lenses which fits the lookup list in your identification tool, or use an identification tool which allows you to modify the lookup list. The latter option excludes using Lightroom for lens identification, as far as I know. I don't know about exiftool.
    Old Minolta IDs have been reused by Sony when they released similar lenses, which I guess is acceptable but can result in Sony lenses being recognized as Minolta or vice versa. Even worse is that third party lens makers have released a lot of lenses where they use a more or less random ID from the Minolta lenses.
    Here is an example of lenses using ID 25611:
    Minolta AF 75-300mm F4.5-5.6
    Sigma 70-300mm F4-5.6 DL Macro
    Sigma AF 300mm F4 APO Macro
    Sigma AF 500mm F4.5 APO
    Sigma AF 170-500mm F5-6.3 APO Asph
    Tokina AT-X AF 300mm F4
    Tokina AT-X AF 400mm F5.6 SD
    Tokina AF 730 II 75-300mm F4.5-5.6
    Sigma 70-300mm F4-5.6 APO Macro
    Sigma AF 500mm F7.2 APO
    (And now I just discovered that this list is incomplete, since the exiftool link posted by ixtab alos lists an ID 25611 Sigma 800 mm which is not in my list.)
    To some extent, the correct lens can be picked from the list if combining ID, max. aperture and focal length from the EXIF. If ID is 25611, max. aperture is 4.5, and focal length is 500, it can only be a Sigma AF 500mm F4.5 APO.
    But if ID is 25611, max. aperture is 5.6, and focal length is 300, there are actually 4-5 different lenses which match. With a little luck you only own one of those lenses and can give that lens the highest priority in the lookup list. That is why it is so important to be able to modify the lookup list.
    I use a command line tool called alphalensinfo which does just that: Uses the combination of ID, max. aperture and focal length and allows you to modify the lookup list. The information is written into an .xmp file which is imported with the image into Lightroom.
    I know that exiftool can do something similar, as stated earlier in the thread, but I have no experience with using it for this purpose (even though I actually do use exiftool in the same batch process to rectify the Orientation tag of the photos).

  • Does importing GPS track override EXIF tags?

    Hi,
    I recently took a bunch of pictures on a trip with a camera that embeds GPS location tags in photos' EXIF tags. These photos are now in Aperture and show up well in the "places" view.
    A friend also had a GPS tracker on the trip and gave me a copy of the ".log" file. It would be cool to import this into Aperture so that in "Places" I can see the full track in addition to the photos along the way.
    My question is: if I do this, will Aperture try to re-locate the already-geotagged pictures based on the track? For a number of reasons (e.g., slightly-mismatching camera clocks, or photos taken on short side-trips that the GPS did not come along for) the existing tags are much more accurate...
    Thanks,
    Mike

    Mike,
    Not a lot of Places experience around here, but in my educated guess, Aperture will not do that automatically. If you choose to have Aperture tag your locations through its Places function, then you will probably be replacing that embedded GPS data.
    I.e., importing a track log is a separate function from assigning pictures to the locations in the log. It's your choice when to do either.
    nathan

  • Here is a solution for Tags in Applescript

    Disclaimer: Try this at your own risk, if anything goes wrong it is not my fault
    I recently started programming with Applescript and thought I would try something that I miss from my Windows days. The ability to right click and choose create new text file. Mac OS X does not allow that so I turned to Applescript. I got to work. There are many people who wish to do the same as me, have a script button on the Finder Menu bar and when clicked it creates a new text file in the current folder your in, or if no Finder Window is open then the desktop.
    This was easy, however I wanted to do it another way. I wanted to have a save dialog box appear that lets me enter the file name I wish to create, set any Tags and the save location. I managed to do get the file to be created as what I wanted and where I wanted. What I could not do was set Tags. I searched round and nobody seemed able to know. So I decided to keep it simple.
    Here is my code
    set filename to choose file name with prompt "choose file" default name "untitled.txt" default location (path to desktop) as alias
    open for access filename with write permission
    write filename to filename
    The first line sets the variable filename to copy into it all the information gathered from the choose file name with prompt command. What I then decided to do was see what information the variable filename contained. So I wrote the last line of code, write filename to filename which I thought would copy the contents of filename and write them to the newly created file.
    Thus i could open the new file and see what information had bene written to it and perhaps gleam any info that might let me figure out what command to use to set the tags etc.
    I then ran the script and chose a filename to create, set the save location and a tag. Then I went to that location and found the file. I was ready to open it to see what info was written to it but instead saw the tag I had set.
    I had inadvertently done what i wanted to. I now realise what i had done was tell my script to copy the contents of filename to the parameters of the newly created file. So the first thing to be copied would be the file location. That was going to be the same so it does not change it, next would be the filename that also would be the same so it is not changed and last would be the tag, there would be no tag so one is added.
    Then when you go to the file you just created it would have the tag(s) you set in the choose file name with prompt dialog box
    I hope this is of use to people and if you do not want to do exactly what I have done then perhaps it may give you an idea of how to achieve what you wish. I don't think that my method for doing this is the correct one and is probably a glitched way of doing it but it works and only needed one line of code so I am happy with that.
    Good luck everybody
    try
    try
    try

    Disclaimer: Try this at your own risk, if anything goes wrong it is not my fault
    I recently started programming with Applescript and thought I would try something that I miss from my Windows days. The ability to right click and choose create new text file. Mac OS X does not allow that so I turned to Applescript. I got to work. There are many people who wish to do the same as me, have a script button on the Finder Menu bar and when clicked it creates a new text file in the current folder your in, or if no Finder Window is open then the desktop.
    This was easy, however I wanted to do it another way. I wanted to have a save dialog box appear that lets me enter the file name I wish to create, set any Tags and the save location. I managed to do get the file to be created as what I wanted and where I wanted. What I could not do was set Tags. I searched round and nobody seemed able to know. So I decided to keep it simple.
    Here is my code
    set filename to choose file name with prompt "choose file" default name "untitled.txt" default location (path to desktop) as alias
    open for access filename with write permission
    write filename to filename
    The first line sets the variable filename to copy into it all the information gathered from the choose file name with prompt command. What I then decided to do was see what information the variable filename contained. So I wrote the last line of code, write filename to filename which I thought would copy the contents of filename and write them to the newly created file.
    Thus i could open the new file and see what information had bene written to it and perhaps gleam any info that might let me figure out what command to use to set the tags etc.
    I then ran the script and chose a filename to create, set the save location and a tag. Then I went to that location and found the file. I was ready to open it to see what info was written to it but instead saw the tag I had set.
    I had inadvertently done what i wanted to. I now realise what i had done was tell my script to copy the contents of filename to the parameters of the newly created file. So the first thing to be copied would be the file location. That was going to be the same so it does not change it, next would be the filename that also would be the same so it is not changed and last would be the tag, there would be no tag so one is added.
    Then when you go to the file you just created it would have the tag(s) you set in the choose file name with prompt dialog box
    I hope this is of use to people and if you do not want to do exactly what I have done then perhaps it may give you an idea of how to achieve what you wish. I don't think that my method for doing this is the correct one and is probably a glitched way of doing it but it works and only needed one line of code so I am happy with that.
    Good luck everybody
    try
    try
    try

  • Search Finder Tags with Applescript?

    Hi I am trying to write a little script that will change my wallpaper based on the images Tag.
    I was wondering how do I access the Finder Tag parameter in Applescript?

    In its most simple form, the following will find an image file in your home directory tree, assign it to a variable, and then use System Events to set the desktop picture. Takes about a second. If you have multiple images with the same tag name, then you will need to use a choose from list using the imgName to prompt you to make a choice, and send the result to System Events.
    set myTag to "Work"
    tell application "Finder"
      set imgPath to do shell script "mdfind -name 'kMDItemUserTags == \"" & myTag & "\"cdw'"
    end tell
    tell application "System Events"
      tell current desktop
      --get picture
      set picture to imgName
      end tell
    end tell

  • Editing Mavericks Tags Through AppleScript/Automator

    Hi,
    I am trying to edit the tags of a folder on my computer though a folder action so that I do not have to manually edit tags I use frequently. Is there any way to set up Automator or AppleScript to edit them for me?

    The old Finder labels and the new tags overlap a little bit; the new tags can be set by using the xattr utility.  A decent description is in this Ask Different topic.
    You don't necessarily need Cocoa-AppleScript to manipulate Spotlight tags and extended attributes, but ff you are just wanting a starting spot for Cocoa-AppleScript in general, you might take a look at Mac OS X Automation - they have several tutorials and sample projects there.

  • Malrotated images: corrupt exif tag still broken

    I exported some images to mail. I was surprised to learn they were not rotated correctly. Turns out Image Capture still mangles EXIF rotation tags from my Canon camera; it creates a duplicate tag when it autorotates. I usually use Graphic Converter to import, but a bug with the latest version meant I had to use Image Capture.
    Now my darned images have duplicate tags, which messes up the orientation in iPhoto and mail.app.
    This has only been a bug for about 2 years. I think Apple may never fix it.

    Have you updated to iPhoto 5.0.4. That update addresses the auto-rotation issue. However, I believe it's only for subsequent imports. Files that are in the library before that update was applies will still be incorrect.
    You can try the following:
    1 - make a backup copy of your iPhoto Library folder
    2 - launch iPhoto with the Command+Option keys depressed and follow the instructions to rebuild the library, selecting the two options to rebuild thumbnails.
    That may get your rotations back to the correct state. But you'll have to have 5.0.4 installed first.
    OT

  • Solution for missing EXIF tags and untranslated values

    A few weeks ago I asked how I might have Aperture use words rather than numbers to describe various camera settings. It doesn't help much to know that that the exposure program setting was "2" when it fact it was Av. I was old it could not be done.
    A freeware product called ExifTool already does this - translates EXIF numerical data into ordinary english. And, while I've never tried to do so, it will also create new IPTC tags based on other tags values. This is a potential solution for getting readable information from EXIF data as well as the EXIF's Aperture doesn't even try such as Bracket Mode, Lens Type, or the auto focus point(s).
    There are two things I don't know...
    1) Will Aperture correctly handle any IPTC tag it encounters during import?
    Maybe - they can be created from within Aperture.
    2) How to get ExifTool to actually create a tag?
    The provided man page example does not work for me...
    [AL3:~] irwin% exiftool -Comment='This is a new comment' ~/Desktop/u/Experiment.CR2
    0 image files updated
    1 image files unchanged
    ...or even...
    [AL3:~] irwin% exiftool -Comment+='This is a new comment' ~/Desktop/u/Experiment.CR2
    Can't add Comment:Comment (not a List type)
    Nothing to do.
    I'm asking that someone more experienced than me suggest why I can't create this new tag.
    There's light at the end of this tunnel,
    -Irwin
    MacBook Pro 17"   Mac OS X (10.4.8)   EOS-5D

    In the newer versions of itunes 6+7 (don't know about 5) iTunes by default will rename the file on the HD to match the info in the "Name" column of iTunes - this is true if you have the "Keep" option selected in iTunes prefs>Advanced>General.
    With iTunes 4 this was not true. I would use one of Dougs scripts to rename all my files on the HD to be Artist-Song Name. You can still do this in iTunes 6+7 if you turn off the "Keep" option or you don't edit any info in the id3 tag once you have run the script.
    I know nothing of the Sonos and other stuff - I can only think that is reading only the file sname and not the id3 tag info. If it doesn't have the capability of reading and displaying the id3 tag info then I think you are out of luck. iTunes is reading the id3 tag info.
    MJ

  • IPhoto is deleting (some) EXIF-Tags when editing

    Hi,
    i have the following problem with iPhoto 6.0.4:
    When a picture is edited with iPhoto some of the stored EXIF informations are deleted. Sadly this is already the case when iPhoto rotates an image while importing it from my D50.
    A little example: The following picture was imported with iPhoto from my camera an at this time automaticly rotated.
    EXIF info of the file in the "Originals" Directory:
    ++++++++++++++++++++++++++++++
    ExifTool Version Number : 6.08
    File Name : DSC_0318.JPG
    File Size : 3 MB
    File Modification Date/Time : 2006:09:09 23:18:44
    File Type : JPEG
    MIME Type : image/jpeg
    Make : NIKON CORPORATION
    Camera Model Name : NIKON D50
    Orientation : Rotate 90 CW
    X Resolution : 300
    Y Resolution : 300
    Resolution Unit : inches
    Software : Ver.1.00
    Modify Date : 2006:09:09 18:25:32
    Y Cb Cr Positioning : Co-sited
    Exposure Time : 1/320
    F Number : 9.0
    Exposure Program : Program AE
    Exif Version : 0221
    Date/Time Original : 2006:09:09 18:25:32
    Create Date : 2006:09:09 18:25:32
    Components Configuration : YCbCr
    Compressed Bits Per Pixel : 4
    Exposure Compensation : 0
    Max Aperture Value : 5.7
    Metering Mode : Multi-segment
    Flash : No Flash
    Focal Length : 50.0mm
    Firmware Version : 2.10
    ISO : 200
    Quality : Fine
    White Balance : Auto
    Focus Mode : AF-A
    Flash Setting : Normal
    Flash Type :
    White Balance Fine Tune : 0
    Exposure Difference : 0.0
    Compression : JPEG (old-style)
    Preview Image Start : 2632
    Preview Image Length : 26016
    Flash Exposure Compensation : 0.0
    ISO Setting : 200
    Image Boundary : 0 0 3008 2000
    Flash Exposure Bracket Value : 0.0
    Exposure Bracket Value : 0
    Tone Comp : Auto
    Lens Type : G
    Lens : 18-55mm f/3.5-5.6
    Flash Mode : Did Not Fire
    AF Point : Single Area, Center
    Shooting Mode : Single-Frame, Unused LE-NR Slowdown
    Color Hue : Mode3a
    Light Source : Natural
    Hue Adjustment : 0
    Noise Reduction : Off
    Sensor Pixel Size : 7.8 x 7.8 um
    Serial Number :
    Image Data Size : 3312598
    Shutter Count : 745
    Image Optimization : Normal
    Vari Program :
    WB RGGB Levels : 691 321 321 441
    Lens Data Version : 0201
    AF Aperture : 5.7
    Focus Position : 50
    Focus Distance : 0.84 m
    Lens ID Number : 140
    Lens F Stops : 5.33
    Min Focal Length : 18.3mm
    Max Focal Length : 55.0mm
    Max Aperture At Min Focal : 3.6
    Max Aperture At Max Focal : 5.7
    MCU Version : 142
    Effective Max Aperture : 5.7
    User Comment :
    Sub Sec Time : 40
    Sub Sec Time Original : 40
    Sub Sec Time Digitized : 40
    Flashpix Version : 0100
    Color Space : sRGB
    Exif Image Width : 3008
    Exif Image Length : 2000
    Interoperability Index : R98
    Interoperability Version : 0100
    Sensing Method : One-chip color area
    File Source : Digital Camera
    Scene Type : Directly photographed
    CFA Pattern : [Blue,Green][Green,Red]
    Custom Rendered : Normal
    Exposure Mode : Auto
    Digital Zoom Ratio : 1
    Focal Length In 35mm Format : 75
    Scene Capture Type : Standard
    Gain Control : None
    Contrast : Normal
    Saturation : Normal
    Sharpness : Normal
    Subject Distance Range : Unknown (0)
    Thumbnail Offset : 28788
    Thumbnail Length : 8899
    Profile CMM Type : appl
    Profile Version : 2.2.0
    Profile Class : Input Device Profile
    Color Space Data : RGB
    Profile Connection Space : XYZ
    Profile Date Time : 2003:07:01 00:00:00
    Profile File Signature : acsp
    Primary Platform : Apple Computer Inc.
    CMM Flags : Not Embedded, Independent
    Device Manufacturer : appl
    Device Model :
    Device Attributes : Reflective, Glossy, Positive, Color
    Rendering Intent : Perceptual
    Connection Space Illuminant : 0.9642 1 0.82491
    Profile Creator : appl
    Profile ID : 0
    Red Matrix Column : 0.45427 0.24263 0.01482
    Green Matrix Column : 0.35332 0.67441 0.09042
    Blue Matrix Column : 0.15662 0.08336 0.71953
    Media White Point : 0.95047 1 1.0891
    Chromatic Adaptation : 1.04788 0.02292 -0.0502 0.02957 0.99049 -0.01706 -0.00923 0.01508 0.75165
    Red Tone Reproduction Curve : (Binary data 14 bytes, use -b option to extract)
    Green Tone Reproduction Curve : (Binary data 14 bytes, use -b option to extract)
    Blue Tone Reproduction Curve : (Binary data 14 bytes, use -b option to extract)
    Profile Description : Camera RGB Profile
    Profile Copyright : Copyright 2003 Apple Computer Inc., all rights reserved.
    Profile Description ML : Camera RGB Profile
    Image Width : 3008
    Image Height : 2000
    Aperture : 9.0
    Blue Balance : 1.37383
    Image Size : 3008x2000
    Lens ID : AF-S DX Zoom-Nikkor 18-55mm f/3.5-5.6G ED
    Lens : 18-55mm f/3.5-5.6 G
    Preview Image : (Binary data 26016 bytes, use -b option to extract)
    Red Balance : 2.15265
    Scale Factor To 35mm Equivalent : 1.5
    Shutter Speed : 1/320
    Thumbnail Image : (Binary data 8899 bytes, use -b option to extract)
    Circle Of Confusion : 0.020 mm
    Depth of Field : 0.10 m (0.80 - 0.89)
    Focal Length : 50.0mm (35mm equivalent: 75.0mm)
    Hyperfocal Distance : 13.87 m
    Date/Time Original : 2006:09:09 18:25:32.40
    ++++++++++++++++++++++++++++++
    EXIF info of the file in the "Modified" Directory:
    ++++++++++++++++++++++++++++++
    ExifTool Version Number : 6.08
    File Name : DSC_0318.JPG
    File Size : 3 MB
    File Modification Date/Time : 2006:09:09 23:18:46
    File Type : JPEG
    MIME Type : image/jpeg
    Make : NIKON CORPORATION
    Camera Model Name : NIKON D50
    Orientation : Horizontal (normal)
    X Resolution : 72
    Y Resolution : 72
    Resolution Unit : inches
    Software : QuickTime 7.1.2
    Modify Date : 2006:09:09 23:18:46
    Host Computer : Mac OS X 10.4.7
    Y Cb Cr Positioning : Centered
    Exposure Time : 1/320
    F Number : 9.0
    Exposure Program : Program AE
    ISO : 200
    Exif Version : 0220
    Date/Time Original : 2006:09:09 18:25:32
    Create Date : 2006:09:09 18:25:32
    Exposure Compensation : 0
    Max Aperture Value : 5.7
    Metering Mode : Multi-segment
    Light Source : Unknown (0)
    Flash : No Flash
    Focal Length : 50.0mm
    Color Space : sRGB
    Sensing Method : One-chip color area
    Compression : JPEG (old-style)
    Thumbnail Offset : 638
    Thumbnail Length : 5438
    Comment : AppleMark.
    Image Width : 2000
    Image Height : 3008
    Profile CMM Type : appl
    Profile Version : 2.2.0
    Profile Class : Input Device Profile
    Color Space Data : RGB
    Profile Connection Space : XYZ
    Profile Date Time : 2003:07:01 00:00:00
    Profile File Signature : acsp
    Primary Platform : Apple Computer Inc.
    CMM Flags : Not Embedded, Independent
    Device Manufacturer : appl
    Device Model :
    Device Attributes : Reflective, Glossy, Positive, Color
    Rendering Intent : Perceptual
    Connection Space Illuminant : 0.9642 1 0.82491
    Profile Creator : appl
    Profile ID : 0
    Red Matrix Column : 0.45427 0.24263 0.01482
    Green Matrix Column : 0.35332 0.67441 0.09042
    Blue Matrix Column : 0.15662 0.08336 0.71953
    Media White Point : 0.95047 1 1.0891
    Chromatic Adaptation : 1.04788 0.02292 -0.0502 0.02957 0.99049 -0.01706 -0.00923 0.01508 0.75165
    Red Tone Reproduction Curve : (Binary data 14 bytes, use -b option to extract)
    Green Tone Reproduction Curve : (Binary data 14 bytes, use -b option to extract)
    Blue Tone Reproduction Curve : (Binary data 14 bytes, use -b option to extract)
    Profile Description : Camera RGB Profile
    Profile Copyright : Copyright 2003 Apple Computer Inc., all rights reserved.
    Profile Description ML : Camera RGB Profile
    Aperture : 9.0
    Image Size : 2000x3008
    Shutter Speed : 1/320
    Thumbnail Image : (Binary data 5438 bytes, use -b option to extract)
    Focal Length : 50.0mm
    ++++++++++++++++++++++++++++++
    (EXIF extracted with http://owl.phy.queensu.ca/~phil/exiftool/)
    Is there any setting to prevent iPhoto from doing this? Or is this a know problem and will this be changed in the future?
    thx in advance
    Bapf
    MacBook Pro   Mac OS X (10.4.7)  

    Bapf:
    Welcome to the Apple Discussions. I've noticed that any edit by iPhoto does leave out a number of EXIF fields. iPhoto, being a consumer application, is apparently not as concerned with EXIF/metadata as the professional applications like Aperture or iView MediaPro.
    Do you Twango?
    TIP: For insurance against the iPhoto database corruption that many users have experienced I recommend making a backup copy of the Library6.iPhoto database file and keep it current. If problems crop up where iPhoto suddenly can't see any photos or thinks there are no photos in the library, replacing the working Library6.iPhoto file with the backup will often get the library back. By keeping it current I mean backup after each import and/or any serious editing or work on books, slideshows, calendars, cards, etc. That insures that if a problem pops up and you do need to replace the database file, you'll retain all those efforts. It doesn't take long to make the backup and it's good insurance.

  • Aperture Script - Can't replicate problem

    I wrote this script to rename and File Aperture projects by date : http://www.johneday.com/9/rename-and-file-aperture-projects-by-date .
    A Mountain Lion user has given me this feedback:
    OK, so I get the error that the EXIF tag does not have capture year. I'm on Mountain Lion, and recall that it worked on one project the very first time I ran the script after downloading and installing it... it's almost as if some flag gets set to true or false and it needs to be reset.
    Can anyone running Mountain Lion replicate this problem for me? Any insights about what is going wrong for him would be appreciated.
    set yourFolder to "Imported by Date" -- Name your folder here
    set appendParent to false -- If true, the selected parent's name will be appended to the new project name
    set makeSubfolders to false -- If true, new projects will be created in year/month/ folders.
    property delimiter : "-"
    try
        tell application "Aperture"
            activate
            -- Wait until Aperture is finished processing other tasks
            repeat
                set taskCount to count of tasks
                if taskCount is 1 then
                    display alert "Aperture is processing another task" message "Please wait for the task to complete and try again" buttons {"Try again", "Cancel"} default button {"Try again"} cancel button {"Cancel"}
                else if taskCount > 1 then
                    display alert "Aperture is processing " & taskCount & " tasks" message "Please wait for the tasks to complete and try again" buttons {"Try again", "Cancel"} default button {"Try again"} cancel button {"Cancel"}
                else
                    exit repeat
                end if
            end repeat
            -- Verify that at least one item is selected
            if selection is {} then display alert "The selection {} is empty" message "Please select ONE Project, Folder or Album from the Library tab in the sidebar and try again." buttons {"OK"} cancel button {"OK"}
            -- Get the selected Parent ID
            tell item 1 of (selection as list) to set theParent to parent
            set {parentClass, parentName} to {class, name} of theParent
            if parentClass is album then display dialog "Albums may contain images from multiple projects. Are you sure you want to move these images from their projects?"
            -- Get date of every image in the selected Parent
            tell theParent to set dateList to every image version's (value of EXIF tag "ImageDate")
            tell library 1
                -- Create your folder if it does not exist
                if not (exists folder yourFolder) then make new folder with properties {name:yourFolder}
                -- Assign name of every project in your folder to a list for the Create project command below
                -- (exists project isoImageDate) command is too slow to be included in the loop
                if not makeSubfolders then tell folder yourFolder to set parentList to name of every project
                set dateTest to {}
                repeat with aDate in my dateList
                    -- Test each date to avoid processing duplicates
                    set shortDate to short date string of aDate
                    if dateTest does not contain shortDate then
                        set end of dateTest to shortDate
                        -- Convert the image date to YYYY-MM-DD format
                        set projectYear to year of aDate as string
                        set projectMonth to (month of aDate as integer) as string
                        if length of projectMonth is 1 then set projectMonth to "0" & projectMonth
                        set projectDay to (day of aDate as integer) as string
                        if length of projectDay is 1 then set projectDay to "0" & projectDay
                        set isoImageDate to projectYear & delimiter & projectMonth & delimiter & projectDay as string
                        if appendParent then set isoImageDate to isoImageDate & space & parentName
                        tell folder yourFolder
                            if makeSubfolders then
                                --Create year and month folders if year folder does not exist
                                if not (exists folder projectYear) then make new folder with properties {name:projectYear}
                                tell folder projectYear
                                    if not (exists folder projectMonth) then make new folder with properties {name:projectMonth}
                                end tell
                                --Create project if it does not exist
                                if ((name of every project of folder projectMonth of folder projectYear) does not contain isoImageDate) then tell folder projectMonth of folder projectYear to make new project with properties {name:isoImageDate}
                                -- Move the images into the project
                                move (every image version of theParent whose value of EXIF tag "CaptureYear" is year of aDate and value of EXIF tag "CaptureMonthOfYear" is month of aDate as integer and value of EXIF tag "CaptureDayOfMonth" is day of aDate) to project isoImageDate of folder projectMonth of folder projectYear
                            else -- If not makeSubfolders
                                --Create project if it does not exist
                                if parentList does not contain isoImageDate then make new project with properties {name:isoImageDate}
                                -- Move the images into the project
                                move (every image version of theParent whose value of EXIF tag "CaptureYear" is year of aDate and value of EXIF tag "CaptureMonthOfYear" is month of aDate as integer and value of EXIF tag "CaptureDayOfMonth" is day of aDate) to project isoImageDate
                            end if
                        end tell
                    end if
                end repeat
                -- Move the initial container to the Trash if no images remain or if it is an album           
                if parentClass is album then
                    delete theParent
                else if (count of image versions of theParent) is 0 then
                    delete theParent
                end if
                beep
            end tell
        end tell
    on error errMsg number errNum
        tell me
            activate
            display alert errMsg & return & return & "Error number" & errNum buttons "Cancel"
        end tell
    end try
    EXIF Tag Name Mapping
    The following table provides a mapping between EXIF tag names found in the Aperture 3 interface and EXIF tag names that appear in AppleScript.

    Well, the obvious answer to your question is that Aperture in not seeing a 'CaptureYear' EXIF tag on an image. The way you have your try block set up, that amounts to a fatal error in your script.  why it's not seeing a capture year is a different question.  you might try asking the user with the problem to log the EXIF names for the images s/he's working on:
    get name of every EXIF tag of image versions of theParent
    you might also try breaking the complex command down into two simpler commands, in case ML has introduced a race condition:
    set movables to get (image versions of theParent whose (value of EXIF tag "CaptureYear" is year of aDate) and (value of EXIF tag "CaptureMonthOfYear" is (month of aDate as integer)) and (value of EXIF tag "CaptureDayOfMonth" is day of aDate))
    move movables to project isoImageDate of folder projectMonth of folder projectYear
    Of course, it could just be goofy user error as well - trying to run the script on an empty album or somesuch.
    Sorry I can't test this myself; my copy of aperture is an expired demo I keep around so I have access to the scripting dictionary (aperture questions are common enough to make that worthwhile), so I can't actually use it for anything.

Maybe you are looking for

  • Audigy 4 vs E-MU 0404 in Win 2

    Looking for opinions to decide between two cards. -I only need stereo, this is purely for music output to a 2 channel audio system. -My house server runs Windows Server 2003, as it performs a lot of server functions, one of which is playing MP3s and

  • Raw thumbnails will not display in Bridge CS3

    I am using Bridge CS3 and Photoshop Elements 7 (the OS is Vista).  I can open raw files OK via Bridge, and PSE will launch correctly as well, but the thumbnails in Bridge are only the file icons for the raw files, never images.  .jpg files are fine. 

  • Need code for ITC502

    I need code for gpib to ITC 502. Need to set temperature and threshold, thankx

  • Exporting from imovie to fce4

    I purchased a new camera that sadly wasn't compatible with Mac. The only way to import videos from that camera was throught iMovie. So when I edit the first parts of my videos in iMovie the quality is great but then when I export the video to finish

  • PS CS2 and number

    I have an old copy of PS CS2 and number that was made available for free sometime back installed on my Mac which my daughter has been using. Can I re-instal this on her computer now that she has one instead and using the same number?