Skip to Main Content

Java Programming

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Updating Image Metadata in Image file

Sanket24Feb 10 2016 — edited Feb 26 2016

Hi All,

I am trying to update value of the image metadata like Title, Subject, Image Description, Comments, Author, etc. through Java code but have failed to do so.

I have tried many code available online but have not succeeded.

However, I have been able to read the metadata values and print them but writing is an issue.

Could anybody please help me out with the code part of writing or updating metadata values in an Image.

Exact scenario is - I have large set of images which I want to compress so as to reduce the disk space utilised. But the compression code generates an image in which all metadata (image attributes) values get lost which are of importance to me. So, finding a code by which I can copy read the metadata values from the original image and write it them to the compressed image.

Regards,

Sanket

This post has been answered by Sanket24 on Feb 26 2016
Jump to Answer
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Mar 25 2016
Added on Feb 10 2016
5 comments
2,059 views