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

png: support apng #101

Merged
merged 1 commit into from
Dec 27, 2023
Merged

png: support apng #101

merged 1 commit into from
Dec 27, 2023

Conversation

appashchenko
Copy link
Contributor

Возможность просматривать анимированные PNG, если в системе пропатчена libpng.
Вторая попытка.

Файлы для проверки
https://github.com/artemsen/swayimg/files/13753972/samples.tar.gz

Copy link
Owner

@artemsen artemsen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Заранее извиняюсь, но я могу задержаться с этим PR.
Слишком много скользких моментов, проверять которые надо вручную, а у меня даже пропатченного libpng нет.

src/formats/png.c Outdated Show resolved Hide resolved
src/formats/png.c Outdated Show resolved Hide resolved
src/formats/png.c Outdated Show resolved Hide resolved
src/formats/png.c Outdated Show resolved Hide resolved
src/formats/png.c Outdated Show resolved Hide resolved
src/formats/png.c Outdated Show resolved Hide resolved
src/formats/png.c Outdated Show resolved Hide resolved
src/formats/png.c Outdated Show resolved Hide resolved
src/formats/png.c Show resolved Hide resolved
src/formats/png.c Show resolved Hide resolved
APNG Specification can be found here:
https://www.w3.org/TR/png/#apng-frame-based-animation
https://wiki.mozilla.org/APNG_Specification

Signed-off-by: Alexandr Pashchenko <pashchenko.a.o@yandex.com>
@artemsen artemsen merged commit d692f73 into artemsen:master Dec 27, 2023
1 check passed
@artemsen
Copy link
Owner

Спасибо!

@appashchenko appashchenko deleted the apng branch December 27, 2023 15:40
@appashchenko appashchenko restored the apng branch December 27, 2023 15:52
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

Successfully merging this pull request may close these issues.

None yet

2 participants