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

apng #99

Open
iDolmatov opened this issue Dec 28, 2019 · 6 comments
Open

apng #99

iDolmatov opened this issue Dec 28, 2019 · 6 comments
Assignees

Comments

@iDolmatov
Copy link
Contributor

Как-то можно принудительно генерировать анимированные превью изображения?
Сейчас посмотреть анимацию можно только через открытие оригинальной картинки.

@stalkerg
Copy link
Owner

В смысле? Сейчас генерируется webp анимация и mp4 анимация при помощи h264.

@stalkerg stalkerg self-assigned this Dec 29, 2019
@stalkerg stalkerg added the bug label Dec 29, 2019
@stalkerg
Copy link
Owner

Ты про картинки в формате apng которые залиты как png?

@iDolmatov
Copy link
Contributor Author

https://anime-pictures.net/pictures/view_posts/0?search_tag=apng
Ни одного движущегося превью, как для GIF форматов.

@iDolmatov
Copy link
Contributor Author

Вполне возможно, что конвертер не понимает движущихся PNG и генерирует статичную картинку.

@stalkerg
Copy link
Owner

stalkerg commented Jan 4, 2020

Да - поддержки нету.
https://caniuse.com/#search=apng но судя по всему можно попробовать добавить.
Но непонятно как определять такие файлы пока - python-pillow/Pillow#4243

@stalkerg
Copy link
Owner

https://stackoverflow.com/questions/4525152/can-i-programmatically-determine-if-a-png-is-animated/4525194#4525194 -- вот так можно, дальше надо понять что с этим делать...

@stalkerg stalkerg added enhancement and removed bug labels Feb 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants