saket / telephoto

Building blocks for designing media experiences in Compose UI
https://saket.github.io/telephoto/
Apache License 2.0
1k stars 33 forks source link

Exif orientation correction #30

Closed kmnaseef closed 1 year ago

kmnaseef commented 1 year ago

Hi, Thanks for the library. my images orientation is not correct. how i fix using Exif data ?

saket commented 1 year ago

Possible to share one of your images so that I can test?

kmnaseef commented 1 year ago

Orientation_test

kmnaseef commented 1 year ago

Hi, Did you check this?

saket commented 1 year ago

Yep. SubSamplingImage will need a way to manually rotate images by reading exif information. I'm traveling until mid July. Can try implementing this afterwards.

kmnaseef commented 1 year ago

ok

saket commented 1 year ago

This is now fixed. Wanna try out 0.5.0-SNAPSHOT until a stable version is released?

Thanks for reporting!

kmnaseef commented 1 year ago

Thank you very much bro

kmnaseef commented 1 year ago

how i get the 0.5.0-SNAPSHOT?

saket commented 1 year ago

Snapshot versions are hosted on a separate maven repository which will need to be added to your buildscript:

repositories {
  google()
  mavenCentral()
  maven {
    url 'https://oss.sonatype.org/content/repositories/snapshots/'
  }
}
kmnaseef commented 1 year ago

checked. working. thanks.