AiursoftWeb / Kahla-Notify

A simple Android App that keep listening Kahla channel and notify you instantly.
MIT License
7 stars 1 forks source link

Use the latest EXIF logic. #8

Open Anduin2017 opened 5 years ago

Anduin2017 commented 5 years ago

For photos with EXIF orientation, like a camera-took photo, the width and height is visual width and height. NOT actual width and height. For photos without EXIF orientation, like a screenshot, the width and height is its visual and actual width and height. On the server side:

For photos with EXIF orientation, like a camera-took photo, the server will auto rotate the photo, save it, and clear EXIF info. For photos without EXIF orientation, like a screenshot, the server will clear any EXIF info.

Anduin2017 commented 5 years ago

If you still use the old image size logic, the images sent from this project will not be read easily on the official Kahla App.