Seeking Java code to write IPTC data to jpg images.

B
Posted By
Bob
Feb 7, 2004
Views
225
Replies
3
Status
Closed
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?

Master Retouching Hair

Learn how to rescue details, remove flyaways, add volume, and enhance the definition of hair in any photo. We break down every tool and technique in Photoshop to get picture-perfect hair, every time.

M
mscir
Feb 7, 2004
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
PF
Paul Furman
Feb 7, 2004
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/
MS
Marco Schmidt
Feb 21, 2004
Bob:

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.

Check out
< http://www.geocities.com/marcoschmidt.geo/jpeg-image-file-fo rmat.html> under "Metadata libraries", there are three libraries for Java.

Regards,
Marco

MacBook Pro 16” Mockups 🔥

– in 4 materials (clay versions included)

– 12 scenes

– 48 MacBook Pro 16″ mockups

– 6000 x 4500 px

Related Discussion Topics

Nice and short text about related topics in discussion sections