Seeking Java code to write IPTC data to jpg images.

225 views3 repliesLast post: 2/21/2004
I'm looking for Java code that writes out keywords to JPEG images in PhotoShop format. I'm looking for the same functionality that PhotoShop has in its fileinfo menu.

I've searched for this in Google and I've seen that this question has been asked several times before but there have been no answers. Is is possible to do this in Java?
#1
Bob wrote:

I'm looking for Java code that writes out keywords to JPEG images in PhotoShop format. I'm looking for the same functionality that PhotoShop has in its fileinfo menu.

I've searched for this in Google and I've seen that this question has been asked several times before but there have been no answers. Is is possible to do this in Java?

Have you seen this:

http://drewnoakes.com/code/exif/

You might check here too:

http://www.geocities.com/marcoschmidt.geo/java-image-coding. html
#2
Wow, at least we arent the only people asking these kinds of questions. I posted this morning with a related question (see below). Do you know why photoshop uses IPTC? It seems quite rare to find one of these programs that writes new info, which is why I though the explorer properties this was such an obvious thing to match.

Bob wrote:
I'm looking for Java code that writes out keywords to JPEG images in PhotoShop format. I'm looking for the same functionality that PhotoShop has in its fileinfo menu.

Re: EXIF questions
Paul asked:
I'm wanting to caption my jpegs with EXIF descriptions then ultimately extract those with a PHP program for web pages. As I understand, the Windows Explorer file properties summary tab writes to the EXIF data without having to resave & degrade the jpeg. I've downloaded several exif reading utilities that are not able to read changes I make in explorer. I've seen other exif editors that may use a proprietary format and do re-save the jpeg. I've also found a command line editor that I might be able to call with PHP and roll my own editor in a way that's compatible with the windows formatting. If not I can just use explorer.

Am I on the right track here? Other resources, considerations? If this is the wrong group to ask, then where?

Here's an interesting command line utility but I'm not sure it'll do what I want.
http://www.sentex.net/~mwandel/jhead/
#3