Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/content/60/9972860/html/smf/Sources/Load.php(225) : runtime-created function on line 3

Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/content/60/9972860/html/smf/Sources/Load.php(225) : runtime-created function on line 3
Print Page - Metadata lost in PS CS4

The DAM Forum

Software Discussions => ImageIngester and ImageVerifier => Topic started by: 99wasser on February 22, 2009, 10:09:38 AM



Title: Metadata lost in PS CS4
Post by: 99wasser on February 22, 2009, 10:09:38 AM
Hi everybody,
I'm ingesting all my images with latest version of IIP (G5 Mac OS X 10.5.6). During ingestion, I convert the raw files to DNG. All of the metadata is visible in Lightroom (or Bridge).

When editing the image in Photoshop CS4, File info doesn't show any data at all. Scripts running in Photoshop CS4 using IPTC info aren't working anymore as designed.

Images ingested with previous versions of IIP didn't loose metadata info in Photoshop, although ingested with a specific metadata template on my own.

Is there anything I'm missing ?
Thanks in advance for your help or advice !

Patrick
Luxembourg


Title: Re: Metadata lost in PS CS4
Post by: Marc Rochkind on February 22, 2009, 12:11:43 PM
Patrick--

I have had earlier reports of incompatibility with PS CS4. Also, sometimes it's in the metadata itself. Can you try the original template shipped with II, with the original contents of the metadata preference panels?

Sometimes bad entries for a metadata field (e.g., keywords) can mess up the IPTC data.

--Marc


Title: Re: Metadata lost in PS CS4
Post by: 99wasser on February 23, 2009, 02:17:26 PM
Unfortunately, things are worser than expected. I took some fresh shots this morning.

I'll try to comment the results of my test ingestions :
Test 1 : Metadata Preset = own / Master Preset = own --> no appearance of metadata, neither in LR 2 nor in PS CS4
Test 2 : Metadata Preset = default / Master Preset = default / entered some metadata for Rights and Photographer --> no appearance of metadata, neither in LR 2 nor in PS CS4
This is true for DNGs without embedded JPEG's

This is not true for DNGs with embedded JPEG's.
In fact, to my great surprise in
Test 3 : Metadata Preset = own / Master Preset = own --> metadata OK in embedded JPEGs in LR 2 and in PS CS4, metadata KO in DNGs in LR 2 and in PS CS4

I read the documentation once again, but I'm still convinced that I'm doing something wrong, isn't it ?

Need some help !!

Patrick, Luxembourg


Title: Re: Metadata lost in PS CS4
Post by: peterkrogh on February 23, 2009, 03:51:55 PM
Patrick,
There is a known issue with metadata being dropped from Bridge to Photoshop, even for files that have never been touched by ImageIngester.  I know several people who are seeing some or all metadata dropped.  I think this may have something to do with Unicode (I think the Copyright symbol is a possible culprit.)

My friend tried this:
Add metadata to Raw in Bridge
Metadata showed up in File Info and in Metadata panel
Open file in Photoshop, examine metadata in File info - some or all of it is gone.

Once we found this, we took IIP out of consideration - the problem is in the metadata handler in Photoshop or Bridge CS4.

If you see this, you might want to try to rebuild your metadata template from scratch.

Peter




Title: Re: Metadata lost in PS CS4
Post by: Marc Rochkind on February 23, 2009, 10:07:49 PM
Peter--

Thanks for this clarification. I didn't know about the experiment that took II out of the loop.

--Marc


Title: Re: Metadata lost in PS CS4
Post by: peterkrogh on February 24, 2009, 02:11:35 PM
Marc,
I recently got a panicked call from a friend. He is not an IIP user.  We walked through the problem, and were able to replicate reliably using a Bridge template.
I should have thought to send you a note, after bringing you in on the first instance - sorry.
Peter


Title: Re: Metadata lost in PS CS4
Post by: lincolnbarbour on March 30, 2009, 04:38:42 PM
I've been on the phone with Adobe Level 1 Support for 2 hours about this very issue. I've sent them some of my files and they've elevated it to a priority issue.

It's an incompatibility issue with Camera Raw 5.3 and/or Lightroom 2.3 with ImageIngestorPro V3. Adobe is looking into it, but probably won't make an update to fix the problem on their end anytime soon.

When reading a file from Bridge or importing files into Lightroom, both programs will see the II metadata just fine. But any conversion of a raw file into Photoshop CS4 will strip out all the description and IPTC metadata.

If you're using Lightroom, you can use the export feature to save the metadata to a PSD, TIFF, or JPEG and the open the file in Photoshop. You'll get a warning saying some of the File Info will be ignored, click okay and all your metadata from II will be there.

I've tried a million ways to work around this, like editing additional metadata in Lightroom then opening in Photoshop, but no dice. This is only work around until an update from II.

I don't think CS3 users will have this problem. Can't confirm that, though.

Love to hear when this bug is fixed by Marc. It's kind of a pain.

Lincoln


Title: Re: Metadata lost in PS CS4
Post by: Gary Shackelford on March 31, 2009, 07:07:04 PM
I'm having similar problems with lost metadata and PS CS4. My testing (probably incomplete!) suggests that the problem is an incompatibility between IIP 3.2.04, PS/Bridge CS4, and ACR 5.3.

My systems:
PowerPC Mac G4 w/ Mac OS X 10.4.11 Tiger, PS CS2 w/ Bridge 1.0.4.6 (ACR 3.7, DNG converter 5.3) and PS CS4 w/ Bridge CS4 3.0.0.0.464 installed (ACR 5.3, DNG Converter 5.3).
MacBook Pro (Intel) w/ Mac OS X 10.5.6 Leopard, PS CS4 w/ Bridge CS4 3.0.0.0.464 installed (ACR 5.3, DNG Converter 5.3).

My tests and results:
Ingest with IIP 2.4.03 on Mac G4 --> metadata entered by both IIP and by me manually in Bridge displays in Bridge CS4 and Bridge 1.0.4.6 and in File Info panels of both PS CS2 and PS CS4 (true for both pre-DNG-conversion NEFs and for DNGs).

Ingest with IIP 3.2.04 on Mac G4 --> metadata entered by both IIP and by me manually in Bridge displays in Bridge CS4 and Bridge 1.0.4.6 and in File info panel of PS CS2 (true for pre-DNG-conversion NEFs and CRWs and DNGs), but all metadata except EXIF data is stripped out of File Info panel of PS CS4 (true for pre-DNG conversion NEFs and CRWs and for DNGs). Same results when I ingest with IIP 3.2.04 on my MBP and use PS CS4 and related files.

Ingest with Apple's Image Capture --> metadata entered manually by me in Bridge displays in Bridge CS4 and Bridge 1.0.4.6 and in File Info panels of both PS CS2 and PS CS4 (true for pre-DNG-conversion NEFs and CRWs and for DNGs).

These test results suggest to me that the problem is an incompatibility between IIP 3, PS/Bridge CS4, and ACR 5.3 but not DNG converter 5.3 (metadata is also stripped in pre-DNG-conversion NEFs and CRWs opened in PS CS4). I sympathize with Marc for the position he's in, but this is a real pain. I'm afraid that I'm going to have to lay IIP 3 aside and revert to IIP 2.4.03 until this issue gets resolved. Please let me know on this forum if there is anything I can do to avoid this undesirable choice and stick with IIP 3.

One additional oddity that probably isn't relevant, but I might as well mention it: in the File Properties section of ACR's metadata panel, ingested RAW files are now listed as "Ver.2.0.1" rather than as Photoshop files in the Application category. This change from "Photoshop file" categorization seems to have occurred at about the time that I upgraded from PS CS2 to CS4, which was prior to the release of ACR 5.3, but I'm not sure of the exact time relationship. Additionally, at the bottom of the Description tab of Photoshop's File Info window, these same recently ingested files are now listed as "image/tiff" in the Format category immediately after being converted by ACR. Previously, they were categorized as "application/vnd.adobe.photoshop" in the File Info panel.

Gary Shackelford


Title: Re: Metadata lost in PS CS4
Post by: Marc Rochkind on March 31, 2009, 10:06:49 PM
Gary, Lincoln, and others--

Thanks for your detailed experimental results. I'm going to take a crack at this over the next two weeks, and I hope to at least isolate the problem. But, I'm not sure at this point that I will be able to fix it in II. I'll know that only when I know what the problem actually is. Even if it turns out to be a bug in PS CS4, I still may be able to come up with a way around it. Or, maybe not...

I'll post some answers in this section.

--Marc


Title: Re: Metadata lost in PS CS4
Post by: Massimo Novi on April 01, 2009, 06:42:45 AM
Marc

I made some test with CS4 and II 3.

The problem seems to be related to date format.

1) If an EMPTY date tag is written into the XMP:

<photoshop:DateCreated></photoshop:DateCreated>

then PS CS4 does NOT shows metadata in File Info opening from ACR.

2) If a date tag is written into the XMP in a format like this:

<photoshop:DateCreated>12/10/2009</photoshop:DateCreated>

then PS CS4 does NOT shows metadata in File Info opening from ACR.

3) If a date tag is written into the XMP in a format like this:

<photoshop:DateCreated>12-10-2009</photoshop:DateCreated>

or this (time added with a "T" separator - that seems mandatory):

<photoshop:DateCreated>2009-02-10T16:22:40</photoshop:DateCreated>

then PS CS4 DOES shows metadata in File Info opening from ACR.

So it seems Bridge accepts empty date tags (tag with no data) and personal string formats but PS does not.

For example this is a II3 macro for "date created" IPTC field that creates a date format that PS CS4 accepts:

{@exif.DateTimeOriginal,1,4}-{@exif.DateTimeOriginal,5,2}-{@exif.DateTimeOriginal,7,2}T{@datetime,10,2}:{@datetime,12,2}:{@datetime,14,2}

I made these time-limited tests for now but you can make similar tests to see if the problem is truly limited to date formats and tags.

Hope it helps.

Massimo


Title: Re: Metadata lost in PS CS4
Post by: Marc Rochkind on April 04, 2009, 11:08:49 AM
Can some users, especially Patrick, try Massimo's solution to see if it solves the problem?

Follow these steps:

1. On the II main window, choose Set from the Metadata Content drop-down.

2. Replace whatever is in the Date Created field with this (thanks, Massimo!):

{@exif.DateTimeOriginal,1,4}-{@exif.DateTimeOriginal,5,2}-{@exif.DateTimeOriginal,7,2}T{@datetime,10,2}:{@datetime,12,2}:{@datetime,14,2}

3. Ingest, making sure that the preset modified in step #2 above is chosen.

4. Open the ingested image in PS CS4 and verify that the metadata appears in FileInfo.

Thanks!

--Marc


Title: Re: Metadata lost in PS CS4
Post by: peterkrogh on April 05, 2009, 08:06:27 AM
Massimo,
Sorry, I meant to post this earlier - yes there is a (now) known bug in Photoshop.  The empty IPTC date field will cause Photoshop to disregard all metadata in the file. Now word on when this might be fixed.
By the way, this same data munching will happen with legacy (CS3 or earlier) Bridge templates if they are used with CS4.

Marc, you meant to say that you could use *either* this

{@exif.DateTimeOriginal,1,4}-{@exif.DateTimeOriginal,5,2}-{@exif.DateTimeOriginal,7,2}

or this:

{@datetime,10,2}:{@datetime,12,2}:{@datetime,14,2}

right?

Massimo,
I've been meaning to work out how to fix existing files that may have empty date fields.  Have you looked at this?  Approaches that might work include:
• Bridge Script (likely to work fine)
• Create a metadata template in CS4 that has a blank date field, and apply that (doubtful)
• Expression Media script

Peter


Title: Re: Metadata lost in PS CS4
Post by: Marc Rochkind on April 05, 2009, 09:33:31 AM
Peter--

I was just repeating what Massimo posted. Do we have confirmation that all of the following three work? Massimo has confirmed the 3rd.

1. {@exif.DateTimeOriginal,1,4}-{@exif.DateTimeOriginal,5,2}-{@exif.DateTimeOriginal,7,2}
      (The default when you press the Reset button in the Metadata/Contents panel.)

2. {@datetime,10,2}:{@datetime,12,2}:{@datetime,14,2}
      (Not that useful, as it only gives the time.)

3. {@exif.DateTimeOriginal,1,4}-{@exif.DateTimeOriginal,5,2}-{@exif.DateTimeOriginal,7,2}T{@datetime,10,2}:{@datetime,12,2}:{@datetime,14,2}
      (Both the date and the time.)

--Marc


Title: Re: Metadata lost in PS CS4
Post by: Massimo Novi on April 06, 2009, 06:53:50 AM
...The empty IPTC date field will cause Photoshop to disregard all metadata in the file. ....
I've been meaning to work out how to fix existing files that may have empty date fields.  Have you looked at this?  Approaches that might work include:
• Bridge Script (likely to work fine)
• Create a metadata template in CS4 that has a blank date field, and apply that (doubtful)
• Expression Media script
...

Peter,

I agree that a Bridge script should be the safest way (taking the EXIF file modified date and create a new date in the IPTC tag).

EM has a VBS script to copy the Exif CaptureDate value to IPTC DateCreated one. I tried now and works on NEFs and DNGs. The only problem is that it copies only the date, not the time (even if it reads it correctly) so it is probably less useful.

This script for Bridge was slighty adapted by me from one posted by Roger Horward (Thank You) sometimes ago on Adobe Forums:

#target "bridge"

syncDateCommand = new MenuElement( "command", "Sync IPTC Date to EXIF Date", "at the end of Tools","SyncID" );

syncDateCommand.onSelect = function ()
{
   var sels = app.document.selections

   for (i = 0; i < sels.length; i++)
   {
      var md = sels.metadata;
      md.namespace = "http://ns.adobe.com/exif/1.0/";
      var dt = md.DateTimeDigitized;
      md.namespace = "http://ns.adobe.com/photoshop/1.0/";
      md.DateCreated = dt;
   }
}


Save the bold code in a SyncIPTCDate.jxs file and copy the file in this path: C:\Program Files\Common Files\Adobe\Startup Scripts CS4\Adobe Bridge

The "Sync IPTC Date to EXIF Date" item should appear in the Tools menu. Select the thumbnails to update and click on that menu time. The Date Created IPTC field will be updated with the Exif Time Digitized contents (date and time).

Hope it helps.

Massimo






Title: Re: Metadata lost in PS CS4
Post by: peterkrogh on April 06, 2009, 10:02:18 AM
Thanks, Massimo.
I'll check it out on my end when I have a minute.
Peter


Title: Re: Metadata lost in PS CS4
Post by: jljonathan on April 06, 2009, 10:27:13 PM
I just checked the content window in my copy of II v. 3.2.04 and it had this: {@datetime,1,4}-{@datetime,5,2}-{@datetime,7,2} entered in the date line. I didn't add this line and don't know how it got there or if it relates to this discussion of missing metadata. But I just check a recent download in PS CS4 and it has all metadata correctly appearing in the file info window.
Jonathan


Title: Re: Metadata lost in PS CS4
Post by: Marc Rochkind on April 08, 2009, 08:35:10 PM
Jonathan--

What you see is I think the default. It's certainly what you get when you click the Reset button.

The problem with missing dates occurs only if the user explicitly makes that field empty. This ought to be OK, but apparently PS CS4 treats it as an error serious enough to disregard the entire file.

--Marc


Title: Re: Metadata lost in PS CS4
Post by: Vince Binder on April 16, 2009, 09:10:25 AM


Save the bold code in a SyncIPTCDate.jxs file and copy the file in this path: C:\Program Files\Common Files\Adobe\Startup Scripts CS4\Adobe Bridge

The "Sync IPTC Date to EXIF Date" item should appear in the Tools menu. Select the thumbnails to update and click on that menu time. The Date Created IPTC field will be updated with the Exif Time Digitized contents (date and time).

Running OS X 10.5 - tried a few different (but similar directories) but I can't get this to show up in bridge.  Anyone know where this goes for OS X?

Vince Binder.


Title: Re: Metadata lost in PS CS4
Post by: Massimo Novi on April 17, 2009, 02:24:35 AM
Vince

they should go in:

/Library/Application Support/Adobe/Startup Scripts CS4/Adobe Bridge

folder.

I however noted an extension naming error (for Windows AND Mac) in the post that probably is the culprit: SyncIPTCDate.jxs should be SyncIPTCDate.jsx

My apologize for this mistyping...

Massimo



Title: Re: Metadata lost in PS CS4
Post by: petermk on October 30, 2009, 04:25:06 PM
I have installed Massimo's script on my Windows XP machine (with the correct .jsx filename extension). 'Sync IPTC Date to EXIF Date' appears in the Tools menu in Bridge, but nothing happens when I invoke it.

Another script ('Dr. Brown's Services 2.0.2') whose .jsx file is in the same folder, also shows up in the Tools menu. When I invoke that script from the menu it runs correctly.

I have checked that I have copied Massimo's script correctly.

Can anyone suggest why it is not working?

Cheers
Peter Marquis-Kyle


Title: Re: Metadata lost in PS CS4
Post by: Massimo Novi on November 01, 2009, 10:14:19 AM
I have installed Massimo's script on my Windows XP machine (with the correct .jsx filename extension). 'Sync IPTC Date to EXIF Date' appears in the Tools menu in Bridge, but nothing happens when I invoke it.
....

Peter

Have You selected the thumbnails before running the script? Do EXIF dates exist into the files?

Massimo


Title: Re: Metadata lost in PS CS4
Post by: petermk on November 01, 2009, 04:26:30 PM
Hi Massimo, and thanks for responding.

Yes, I have selected the thumbnails before running the script; and yes, the files have valid EXIF Date Created data.

Cheers
Peter


Title: Re: Metadata lost in PS CS4
Post by: paco601209 on April 25, 2010, 02:31:02 PM
Hi,

Just in case you'd like using Massimo script, there was a line missing in the code. This shpuld work:

#target "bridge"

syncDateCommand = new MenuElement( "command", "Sync IPTC Date to EXIF Date", "at the end of Tools","SyncID" );

syncDateCommand.onSelect = function ()
{
   var sels = app.document.selections

   for (i = 0; i < sels.length; i++)
   {
     var t = sels;
      var md = t.metadata;
      md.namespace = "http://ns.adobe.com/exif/1.0/";
      var dt = md.DateTimeOriginal;
      md.namespace = "http://ns.adobe.com/photoshop/1.0/";
      md.DateCreated = dt;
   }
}

Cheers,

Paco


Title: Re: Metadata lost in PS CS4
Post by: djaef on April 27, 2010, 06:36:47 PM
I'm not sure if I get this. I did ingest some files with IIP a few months back to try it out, but haven't been using it on my latest shoots and I'm still experiencing this dropping metadata issue in CS4. I can append my metadata templates and keywords to images in Bridge, but upon opening into Photoshop, they are not there. On my laptop, also running CS4, everything works as it should. I've tried making fresh metadata templates but that didn't help. Any clues?

Geoff


Title: Re: Metadata lost in PS CS4
Post by: paco601209 on April 30, 2010, 01:17:12 AM
I'm not sure if I get this. I did ingest some files with IIP a few months back to try it out, but haven't been using it on my latest shoots and I'm still experiencing this dropping metadata issue in CS4. I can append my metadata templates and keywords to images in Bridge, but upon opening into Photoshop, they are not there. On my laptop, also running CS4, everything works as it should. I've tried making fresh metadata templates but that didn't help. Any clues?

Geoff
Hi Geoff,

Let's see if my -very short- experience in this issue is of any help for you:

- Get one of those images that are giving problems to you in bridge
- Fill all the metadata that you consider necessary
- Fill -by hand- the "DateCreated" field (IPTC block), using a standard date format. YYYY-MM-DD, should work
- Pass it to PS, and save in TIF (or whatever format you use)

The resulting file, ie the processed image, should have all the metadata.

If that is the case, then you should make sure that "dateCreated" is always filled with "correct" values. That's what the Massimo script does.

Paco


Title: Re: Metadata lost in PS CS4
Post by: djaef on May 20, 2010, 02:50:22 AM
Thanks for the reply Paco. I did what you suggested and sure enough if I enter a date in the Date Created field in ITPC Block then it takes the metadata into Photoshop. But what I don't understand is why this is only happening on one machine. My laptop is running the same versions of Bridge / Camera Raw / Photoshop and it doesn't happen on that. I'm not using IIP, but it's still happening to any images I run through this machine. If I ingest onto my laptop I don't have the issue. Strange. I have also rebuilt my metadata template to not effect.

Geoff


Title: Re: Metadata lost in PS CS4
Post by: peterkrogh on May 25, 2010, 09:09:15 PM
Geoff,
Can you try to open any metadata template that causes this problem with a text editor and see what you can find?
Somehow, there is something in a template that is choking Photoshop, right?  that is the common thread  - metadata applied on one machine makes all metadata unreadable by Photoshop?
Peter


Title: Re: Metadata lost in PS CS4
Post by: djaef on August 03, 2010, 12:19:06 AM
Peter, I had a look at the metadata template in notepad and it looked OK (not that I really know what to look for). I've just been avoiding the problem by ingesting on the laptop.
But today I discovered something else.
I don't normally shoot jpgs but I did inadvertently do exactly that last week (luckily just some shots of my daughter). I applied my normal metadata to the jpgs and opened one directly in Photoshop and the metadata showed up, but when I pushed the same file first through Camera Raw, the metadata suddenly didn't show up in Photoshop. So does this mean I'm looking at the wrong culprit - ie. that it's not Bridge but Camera Raw is somehow responsible?
Geoff


Title: Re: Metadata lost in PS CS4
Post by: peterkrogh on August 04, 2010, 05:00:15 PM
Geoff,
Did the JPEGs have camera raw metadata added in ingestion? It could be that Photoshop is ignoring the issue when it bypasses ACR, but gets hung by the problem when it passes the file through ACR.  You might want to try and delete the entire ACR XMP set, and see if the problem persists.
Peter