-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add tag GPS_TAG_GPS_IMG_DIRECTION_REF and GPS_TAG_GPS_IMG_DIRECTION #107
Comments
Hi, do you have samples values for this? |
In the OpenCamera application it does this, it seems to work fine but I don't use ExifInterface as I'm trying to do KMP. That's why I discovered your lib.
So for an azimuth of 45.5°, the value should be formatted as "4550/100", I have a feeling |
Hi, I added a new example that shows how you can achieve that: kim/examples/kim-kotlin-jvm-sample/src/main/kotlin/Main.kt Lines 96 to 127 in 9f96323
It's a variant of the previous example that changes the date taken. You can drop testphoto_gps_img_direction.jpg into https://stefan-oltmann.de/exif-viewer to check it: ![]() Does that help you? Kind regards, Stefan |
Thanks a lot, I was using Kim.update and couldn't find it. |
|
Here's the code I use. I haven't managed to use all the functions you shared with me because I'm trying to do it in commonMain so that Android and iOS do the same thing.
Thank you very much for your help and responsiveness. |
Thank you! :) Just a hint: There are multiple implementations of For working with kotlinx-io on Android & iOS you might want to take a look at That's not available right now for JS, because I need to refactor that since Ktor 3 came out - see #108. Also: If you want to update existing fields, you may need to remove the old values first. You could do that every time for safety. |
I'm sharing my final file in case anyone else is interested. I didn't manage to use
|
Hello, I'd like to add the following tags:
GPS_TAG_GPS_IMG_DIRECTION_REF
GPS_TAG_GPS_IMG_DIRECTION
It's in the project, they're in GpsTag, but I can't see how to enter this value.
Thank you for your help.
The text was updated successfully, but these errors were encountered: