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

Any chance to have support for Animated PNGs (APNGs)? #255

Open
BobbyWibowo opened this issue Nov 9, 2020 · 1 comment
Open

Any chance to have support for Animated PNGs (APNGs)? #255

BobbyWibowo opened this issue Nov 9, 2020 · 1 comment
Assignees
Labels
blocked-upstream-dependency Upstream dependency needs to be updated enhancement New feature or request

Comments

@BobbyWibowo
Copy link

I personally think APNG is such an obscure/meme format, but some big players do use it, so it is what it is I suppose.

Here are some sample images:
Sample

https://stickershop.line-scdn.net/stickershop/v1/sticker/72822926/iPhone/[email protected];compress=true

Sample

https://stickershop.line-scdn.net/stickershop/v1/sticker/72822927/iPhone/[email protected];compress=true

For now the service will only treat APNGs as static PNGs (so it only recognizes the first frame).
It'd be great if the service allows on-the-fly conversion of APNGs to GIFs instead, and optionally make the GIFs have infinite loop.
I mention loop cause those APNGs at their current state will only loop once, as is the decision from LINE themselves.

If they don't loop on your end, try opening the direct link underneath them on a new tab.
GitHub proxies them into static PNGs too.

@kleisauke kleisauke self-assigned this Nov 9, 2020
@kleisauke kleisauke added the blocked-upstream-dependency Upstream dependency needs to be updated label Nov 9, 2020
@kleisauke
Copy link
Member

We are currently experimenting with switching from libpng to libspng for reading PNG files, which makes randy408/libspng#4 relevant here. Implementing this in a PR for https://github.com/randy408/libspng or making a donation to https://opencollective.com/libspng would be the best next step.

@kleisauke kleisauke added the enhancement New feature or request label Jan 10, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked-upstream-dependency Upstream dependency needs to be updated enhancement New feature or request
Development

No branches or pull requests

2 participants