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 格式動態圖片貼圖 #1064

Closed
brownsugar opened this issue Jan 8, 2019 · 2 comments
Closed

支援 APNG 格式動態圖片貼圖 #1064

brownsugar opened this issue Jan 8, 2019 · 2 comments

Comments

@brownsugar
Copy link

brownsugar commented Jan 8, 2019

目前貼圖僅支援 GIF,不支援 APNG,APNG 是逐漸被廣用的動態圖片格式,LINE 動態貼圖也是使用這種格式,Chrome 也已經於版本 59 起支援。
下面這張就是一張 APNG 圖片(副檔名是 PNG,播放次數 2 次):
30506471
開源的解析器:APNG Disassembler


另外這種有設置循環次數的動態圖片,貼圖後動態次數跑完,ESC 掉,再重新貼圖不會重新出現動態效果,
必須先貼另一個 GIF,再回來貼原來的圖才能重新播放,不知道這是屬於特色還是 BUG?
gif9-min

@liulex
Copy link
Member

liulex commented Jan 12, 2019

“ESC 掉” 只是隐藏了贴图,所以再次贴出来还是原来的贴图、原来的状态。可以按 Shift + Esc 将贴图销毁,然后再贴出来就是新的了。

不过我的确没考虑过限定了循环次数的 GIF,下次更新我加上支持吧,播放结束后按空格键可令其重新播放。

APNG 的支持也会在年内加上~

@liulex liulex added the feature label Jan 12, 2019
@liulex liulex added the done label Dec 9, 2019
@liulex
Copy link
Member

liulex commented Dec 25, 2019

已实现,请等待下个版本更新。

@liulex liulex closed this as completed Dec 25, 2019
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