Skip to content
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

При загрузке вертикальных фоток WWmap переворачивает их #375

Closed
gladkovi4 opened this issue Dec 10, 2020 · 1 comment

Comments

@gladkovi4
Copy link

image
image

@and-hom
Copy link
Owner

and-hom commented Dec 13, 2020

Даже в браузерной выбиралке эти снимки на боку
Снимок экрана от 2020-12-13 18-00-31

Это горизонтальное фото с поворотом в exif. Значит делаем поддержку такого поворота

Вот тут нашёлся тикет к декодеру в go
golang/go#4341

А вот тут есть специальная библиотека, которая это исправляет
https://github.com/disintegration/imageorient

and-hom added a commit that referenced this issue Dec 13, 2020
and-hom added a commit that referenced this issue Dec 13, 2020
#375 Use imageorient instead of standard image decoder to support exif image orientation
@and-hom and-hom closed this as completed Dec 16, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants