https://kotlinlang.org logo
#feed
Title
# feed
s

Stefan Oltmann

03/31/2024, 10:41 AM
Happy Easter! I am excited to announce that Ashampoo Kim v0.16.4, the Kotlin Image Metadata manipulation library, has been updated to make integration into regular Java projects even smoother. Additionally, we've introduced a Java sample project to facilitate usage. Accompanying Kim is Ashampoo XMP Core v1.2.2, the Kotlin multiplatform adaptation of Adobe's XMP SDK. This update also enhances compatibility with regular Java projects and includes a Java sample project for ease of implementation. For those considering a transition from Java to Kotlin Multiplatform in the future, now is an opportune time to migrate from Apache Commons Imaging.
👍 2
K 1
m

Michael Paus

03/31/2024, 1:26 PM
Do you have a summary somewhere of what Kim can do and what not? E.g., is it somehow possible to store geo-referencing information inside an image? Not just a GPS-Coordinate. TIFF can handle that but Kim does not seem to be able to read that properly and it also seems not to be able to write that data. Maybe I just misunderstood the API.
👍 1
s

Stefan Oltmann

03/31/2024, 6:19 PM
Thank you for your question. In the "limitations" section of the readme, I've outlined certain functionalities that are currently unavailable. While I've mentioned various things I believe people would expect and are missing, "geo-referencing information inside an image" is unfamiliar to me. Could this be synonymous with GeoTIFF? Although I have received a request for GeoTIFF before, no sample files were provided. If someone could provide an example of the required format, I would be glad to improve the library accordingly.
The Kim.update() API right now provides only common values (date taken, location, keywords) that Ashampoo Photos can write, but the underlying low level API (showcased in the sample codes on the README) can write ANY tiff field. If the definition of it is missing you can just create it yourself. The TiffTag constant list is not complete by any means. If what you are looking for is a new kind of format I will need to write logic for it. If you already know and use a tool that can do this, it’s helpful to have something I can use as a reference and also test with.
m

Michael Paus

03/31/2024, 6:49 PM
s

Stefan Oltmann

03/31/2024, 7:59 PM
Thanks. I will look into that.
2