Hello everyone! I would like to introduce you to ...
# feed
s
Hello everyone! I would like to introduce you to Kim, a *K*otlin *i*mage *m*etadata library for KMM: https://github.com/RealAshampoo/kim Kim is a Kotlin Multiplatform reimplementation of the metadata functionalities found in Apache Commons Imaging. Although it is still in its early stages, we have already integrated it into our own KMM app, Ashampoo Photos, and have been utilizing it in a production environment. Currently, it supports metadata reading and writing for JPEG and PNG formats. Please take a moment to explore the library and kindly share your feedback! ๐Ÿ˜Š We would also be delighted if you would like to contribute. Thank you for your interest and support!
๐Ÿ‘ 6
๐Ÿ™Œ 8
๐Ÿ‘๐Ÿพ 1
๐Ÿ‘๐Ÿป 1
๐ŸŽ‰ 3
๐Ÿ™Œ๐Ÿพ 1
a
I am interested in GeoTiff metadata. I believe that Commons-imaging has support for it yet it is a bit limited.
s
Thank you for your feedback. Yes, they have the tags for that here: https://github.com/apache/commons-imaging/blob/master/src/main/java/org/apache/commons/imaging/formats/tiff/constants/GeoTiffTagConstants.java Itโ€™s trivial to include them with Kim. I left them out because none of my own and none of the photos provided by users of Ashampoo Photos have them. So I have no images to test that. I think I might need to look into which devices actually write GeoTiff.
a
GeoTiff is used massively in cartography and satellite imaging. I plan to add support for them in maps-kt. It would be nice to be able to read images not only from JVM.
๐Ÿ‘ 1
s
I see. Yes, thatโ€™s a use case Kim is made for. If you have test images that can be shared for unit testing (https://github.com/RealAshampoo/kim/tree/main/src/commonTest/resources/com/ashampoo/kim/testdata/full) I could add those tags.
a
Not yet. I still can't find time to implement this feature.
s
Okay. If you have data I can test with donโ€™t hesitate to open a issue on the Kim GitHub and we look into that. ๐Ÿ™‚
@altavir To give you an update: Kim v0.17.1 can read & write GeoTiff ๐Ÿ™‚
๐Ÿ‘ 1
But it's limited in the same way as Apache Commons Imaging. You can read and write the TIFF fields, but there is not yet a convenient tooling for it like I have for GPS.
a
@Stefan Oltmann thanks a lot, I'll try it next time I will work with maps. Maps-kt has its own positioning engine, so all we need is to read geotiff metadata.
๐Ÿ‘ 1