dragon66 / icafe

Java library for reading, writing, converting and manipulating images and metadata
Eclipse Public License 1.0
204 stars 58 forks source link

Any example of how to write info into XMP ? #34

Closed ivanooi closed 8 years ago

ivanooi commented 8 years ago

Hi,

Any example of how to write info into XMP ?

Found this but going no where... JpegXMP

Thanks

dragon66 commented 8 years ago

@ivanooi Up to now, icafe doesn't contain any API to create XMP itself. I once opened an enhancement issue for this but didn't carry it out. If you want to create XMP document itself, try Adobe Java XMP API . After you create XMP document, you can use icafe to insert it into JPEG, TIFF, PNG and GIF etc. You can also extract XMP from JPEG, TIFF, PNG, and GIF etc.

dragon66 commented 8 years ago

I have reopened the following issue in the hope that I will give it another try some day.

ivanooi commented 8 years ago

I see.... but Adobe XMP is a read only API. No write API. and I found out Apache Imaging failed to handle array elements which used by MS. as you pointed out in previous message.

great! Thanks!

dragon66 commented 8 years ago

@ivanooi This blog talks about CC License Tagging which uses Adobe API and ICAFE to create and insert XMP to images for Creative Commons. You may find it useful too.