This question is answered. Helpful answers available: 1. Correct answers available: 1.


Permlink Replies: 23 - Pages: 2 [ 1 2 | Next ] - Last Post: 29-Dec-2018 22:50 Last Post By: RobM
Steerpike58

Posts: 7
Registered: 28-Nov-2015
Updating IPTC data for multiple images at once in 'Explore' view
Posted: 06-Dec-2015 06:05
 
  Click to reply to this thread Reply
I'm loving jAlbum so far. Is there a way in the 'Explore' view to multi-select multiple images at once, and then set (eg) IPTC 'Caption' for all selected items at once to the entered caption? I'm doing this now successfully with IrfanView, but it would be nice if I could do it directly in jAlbum. (I know how to multi-select ... it's the setting of caption I'm unclear on :) )

Thanks!
jGromit

Posts: 7,356
Registered: 31-Jan-2006
Re: Updating IPTC data for multiple images at once in 'Explore' view
Posted: 06-Dec-2015 06:19   in response to: Steerpike58 in response to: Steerpike58
 
  Click to reply to this thread Reply
You can't enter any IPTC information for an image from within jAlbum. You can enter a jAlbum Comment or Title, and you can tell jAlbum to copy its own comments and titles to the xmp metadata for the image, but not to the IPTC.

If you want to enter the same Comment or Title for multiple images, enter it for one image, then right-click and choose Title.... Copy or Comment.... Copy (the choice will depend upon whether you're looking at the Titles or the Comments). Then choose the other images you want to change, right-click, and choose Title... Paste or Comment... Paste.
Steerpike58

Posts: 7
Registered: 28-Nov-2015
Re: Updating IPTC data for multiple images at once in 'Explore' view
Posted: 06-Dec-2015 18:47   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Ah- got it - I have the 'Explore' view set to display 'comment', and the 'comment' is being fed from the IPTC 'Caption' field. But when I update that 'comment' in jAlbum, I see that it does not get stored in the IPTC area of the file. You say "you can tell jAlbum to copy its own comments and titles to the xmp metadata for the image". I poked around and found the updated text in the 'comments.properties' file in the image folder; I presume that 'comments.properties' file is the 'xmp metadata' repository?

Having been burned multiple times, committing captions to proprietary repositories, I'll never again put captions / titles / etc anywhere but in the IPTC for the image itself, as it is self-contained and highly transportable in that manner. Are you avoiding the IPTC area because it does not exist for all image types, or are you maintaining a 'do not touch the original' approach?
jGromit

Posts: 7,356
Registered: 31-Jan-2006
Re: Updating IPTC data for multiple images at once in 'Explore' view
Posted: 06-Dec-2015 18:56   in response to: Steerpike58 in response to: Steerpike58
 
  Click to reply to this thread Reply
Steerpike58 wrote:
I poked around and found the updated text in the 'comments.properties' file in the image folder; I presume that 'comments.properties' file is the 'xmp metadata' repository?

No. The comments.properties file is the comment source choice labeled jAlbum (Text file). The xmp metadata is actual, buried-in-the JPG metadata. It's not something kept in a separate file somewhere. Under Tools, Preferences, Album, Image editing, if you choose Write xmp metadata to files, things like comments you enter will be written out to the image metadata.

Having been burned multiple times, committing captions to proprietary repositories, I'll never again put captions / titles / etc anywhere but in the IPTC for the image itself, as it is self-contained and highly transportable in that manner. Are you avoiding the IPTC area because it does not exist for all image types....

No. It's being avoided because it's rapidly being superseded. IPTC metadata has a limited set of defined fields. On the other hand, xmp metadata is infinitely extensible, making it much more future-proof.
Steerpike58

Posts: 7
Registered: 28-Nov-2015
Re: Updating IPTC data for multiple images at once in 'Explore' view
Posted: 06-Dec-2015 21:17   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Oh wow this is exciting information indeed (and I apologize for not keeping up to date with metadata!). I checked my settings, and I see that 'write xmp metadata to files' is checked. So I entered a sample 'comment' in the explore view of jAlbum, and I see that comment in Photoshop Elements - 'File Info' / Raw shows the entered comment within the 'description' tag. But also, 'File Info' / IPTC, 'IPTC Content' section, shows the same comment within the 'Description' field. I'll need to play around more with that to see what is getting set where. And IrfanView doesn't show it at all, sadly.

I guess I have some work ahead of me to get a better understanding of XMP tags. Crucial to my workflow is the ability to bulk-enter this metadata, and it seems like jAlbum can do that for me.
jGromit

Posts: 7,356
Registered: 31-Jan-2006
Re: Updating IPTC data for multiple images at once in 'Explore' view
Posted: 06-Dec-2015 21:52   in response to: Steerpike58 in response to: Steerpike58
 
  Click to reply to this thread Reply
In fiddling around with it, I've found that the only time it doesn't work is when you're dealing with images that you've scanned in, like from old prints or slides. At least from my scanner, they end up with an internal structure that jAlbum apparently can't handle. Everything looks like it's working, but the xmp information is not written to the source file, nor can it be forced to write the xmp to the output slide image. The problem may be restricted to the scanner software I use - I've never had anything else to test with.

And yes, IrfanView is a great tool, but it appears that even the latest release has no xmp support.
karlmistelberger

Posts: 504
Registered: 5-Dec-2013
Re: Updating IPTC data for multiple images at once in 'Explore' view
Posted: 08-Dec-2015 08:47   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
jGromit wrote:
In fiddling around with it, I've found that the only time it doesn't work is when you're dealing with images that you've scanned in, like from old prints or slides. At least from my scanner, they end up with an internal structure that jAlbum apparently can't handle. Everything looks like it's working, but the xmp information is not written to the source file, nor can it be forced to write the xmp to the output slide image. The problem may be restricted to the scanner software I use - I've never had anything else to test with.

Scanner files are different from camera files:
karl@erlangen:~> file Scans/adidas.jpeg 
Scans/adidas.jpeg: JPEG image data, JFIF standard 1.01
 
karl@erlangen:~> file testjAlbum/2015/2015-10-30/p1000001.jpg 
testjAlbum/2015/2015-10-30/p1000001.jpg: JPEG image data, EXIF standard
karl@erlangen:~> 
jAlbum does store xmp data in scanner files:
karl@erlangen:~> exiftool -xmp -b testjAlbum/adidas.jpeg 
<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.1.0-jc003">
  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
    <rdf:Description rdf:about=""
        xmlns:dc="http://purl.org/dc/elements/1.1/">
      <dc:description>
        <rdf:Alt>
          <rdf:li xml:lang="x-default">Versenden mit DHL funktioniert fast immer. Manchmal geht es schief.</rdf:li>
        </rdf:Alt>
      </dc:description>
    </rdf:Description>
  </rdf:RDF>
</x:xmpmeta>
...
<?xpacket end="w"?>karl@erlangen:~> 
jGromit

Posts: 7,356
Registered: 31-Jan-2006
Re: Updating IPTC data for multiple images at once in 'Explore' view
Posted: 08-Dec-2015 14:54   in response to: karlmistelberger in response to: karlmistelberger
 
  Click to reply to this thread Reply
Attachment Cone Nebula.jpg (2.7 MB)
karlmistelberger wrote:
jAlbum does store xmp data in scanner files...

Well, yes and no, and the problem is not confined to scanned images - it afflicts images saved from online sources, as well.

Start with the attached image. Ask jAlbum to List metadata, and you'll see there's only JPG metadata. Now enter a comment and tell jAlbum to write xmp metadata to the file, then ask jAlbum to List metadata again. Still no xmp. No matter what you do, that comment will never show up as xmp metadata in the lister.

Oddly, however, if you then tell jAlbum to use only xmp as a comment source, your album will show the comment. So it appears that it's writing the xmp, but refusing to display it in the metadata lister.

I posted a bug report about this over three years ago, and thought it had been cured, but apparently not. The xmp extraction works, but the third-party library being used for the metadata lister is still wonky.
karlmistelberger

Posts: 504
Registered: 5-Dec-2013
Re: Updating IPTC data for multiple images at once in 'Explore' view
Posted: 08-Dec-2015 19:38   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
jGromit wrote:
Start with the attached image. Ask jAlbum to List metadata, and you'll see there's only JPG metadata. Now enter a comment and tell jAlbum to write xmp metadata to the file, then ask jAlbum to List metadata again. Still no xmp. No matter what you do, that comment will never show up as xmp metadata in the lister.

I added the image to testjAlbum, built and uploaded without any problems. Exiftool shows the following output:
karl@erlangen:~> exiftool -xmp -b testjAlbum/Cone\ Nebula.jpg 
<?xpacket begin="" id="W5M0MpCehiHzreSzNTczkc9d"?>
<x:xmpmeta xmlns:x="adobe:ns:meta/" x:xmptk="Adobe XMP Core 5.1.0-jc003">
  <rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#">
    <rdf:Description rdf:about=""
        xmlns:dc="http://purl.org/dc/elements/1.1/">
      <dc:description>
        <rdf:Alt>
          <rdf:li xml:lang="x-default">Test Kommentar</rdf:li>
        </rdf:Alt>
      </dc:description>
    </rdf:Description>
  </rdf:RDF>
</x:xmpmeta>
...
<?xpacket end="w"?>
karl@erlangen:~>

List of metadata displayed by jAlbum is:

Jpeg.Component 1=Y component: Quantization table 0, Sampling factors 1 horiz/1 vert
Jpeg.Component 2=Cb component: Quantization table 1, Sampling factors 1 horiz/1 vert
Jpeg.Component 3=Cr component: Quantization table 1, Sampling factors 1 horiz/1 vert
Jpeg.Data Precision=8 bits
Jpeg.Image Height=3862 pixels
Jpeg.Image Width=4048 pixels
Jpeg.Number of Components=3
JpegComment.Jpeg Comment=Adobe ImageReady
jGromit

Posts: 7,356
Registered: 31-Jan-2006
Re: Updating IPTC data for multiple images at once in 'Explore' view
Posted: 08-Dec-2015 19:45   in response to: karlmistelberger in response to: karlmistelberger
 
  Click to reply to this thread Reply
karlmistelberger wrote:
List of metadata displayed by jAlbum....

Yes, that's where the remaining bug is. The xmp is there, and is usable, but it's "hidden" from the user.
davidekholm

Posts: 3,562
Registered: 18-Oct-2002
Re: Updating IPTC data for multiple images at once in 'Explore' view
Posted: 09-Dec-2015 11:38   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
I aim to update jAlbum's 3:rd party metadata extracting library to the currently maintained open source variant of MetadataExtractor. It will hopefully be better at extracting metadata in a solid way. Now we're using a combination of libaries (old metadata-extractor and Apache Sanselan+Adobe's xmpcore), hence the inconsistency.
Steerpike58

Posts: 7
Registered: 28-Nov-2015
Re: Updating IPTC data for multiple images at once in 'Explore' view
Posted: 28-Dec-2018 19:55   in response to: Steerpike58 in response to: Steerpike58
 
  Click to reply to this thread Reply
Hello there!

Three years later … I never did embark on my project and I'm back looking at jAlbum!

Looking at the latest version, I see that I can set "Preferences->Album->Write XMP Metadata to Files" in order to get my comments saved in the JPG image file, XMP metadata area. Great! And then, for my specific album, I need to set "Settings->Advanced->Metadata->Comment Sources" to 'xmp' in order for comments to be 'pulled' from the xmp area of the jpeg image.

Is there a workflow you can suggest that will allow me to migrate all my existing IPTC comments over to the xmp area in my thousands of jpg files? Can jAlbum do this? If I pull up an existing JPG in jAlbum, and have jAlbum display the comments from the IPTC area, I seem to have to 'touch' (change) the comment before it will write the comment back to the XMP area. I tried adding a period, saving, and then deleting the period and saving; that effectively moved the comment to xmp. But is there a way to automate that in any fashion?

Thanks!
jGromit

Posts: 7,356
Registered: 31-Jan-2006
Re: Updating IPTC data for multiple images at once in 'Explore' view
Posted: 28-Dec-2018 20:01   in response to: Steerpike58 in response to: Steerpike58
 
  Click to reply to this thread Reply
We'll get back to you shortly. Maybe towards the end of 2021. ;)
jGromit

Posts: 7,356
Registered: 31-Jan-2006
Re: Updating IPTC data for multiple images at once in 'Explore' view
Posted: 28-Dec-2018 21:13   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
Just in case RobM is already out there tinkering with an external tool to do this, there's a hint in the API, a method called:
copyFileMetadataToXmp()
It returns true if it was successful.

ETA: And it works if I simply plant this at the beginning of slide.htt in Minimal, for example:
<%currentObject.copyFileMetadataToXmp();%>
RobM

Posts: 3,096
Registered: 4-Aug-2006
Re: Updating IPTC data for multiple images at once in 'Explore' view
Posted: 28-Dec-2018 22:05   in response to: jGromit in response to: jGromit
 
  Click to reply to this thread Reply
jGromit wrote:
Just in case RobM is already out there tinkering with an external tool to do this, there's a hint in the API, a method called:
copyFileMetadataToXmp()
It returns true if it was successful.

ETA: And it works if I simply plant this at the beginning of slide.htt in Minimal, for example:

<%currentObject.copyFileMetadataToXmp();%>
No, not yet as I'm not sure what exactly is needed.
Out of curiosity I edited an image to add some IPTC metadata and then looked at the metadata listed in jAlbum. All of the IPTC data I entered is already copied into an XMP field e.g.
Iptc.By-line=IPTC Author >> xmp.dc:creator[1]=IPTC Author
Iptc.Caption/Abstract=IPTC Description >> xmp.dc:description[1]=IPTC Description
Iptc.Headline=IPTC Content Headline >> xmp.photoshop:Headline=IPTC Content Headline AND xmp.Iptc4xmpCore:Caption=IPTC Description
Iptc.Object Name=IPTC Status Title >> xmp.dc:title[1]=IPTC Status Title
Iptc.Subject Reference=IPTC  Content Subject >> xmp.Iptc4xmpCore:SubjectCode[1]=IPTC  Content Subject
Legend
Forum admins
Helpful Answer
Correct Answer

Point your RSS reader here for a feed of the latest messages in all forums