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

[注解] [802] 逐帧动画 #80

Open
cssmagic opened this issue Sep 16, 2017 · 0 comments
Open

[注解] [802] 逐帧动画 #80

cssmagic opened this issue Sep 16, 2017 · 0 comments
Labels

Comments

@cssmagic
Copy link
Owner

花絮与注解

第 205 页 ‧ 最后一行

GIF 图片的所能使用的颜色数量被限制在 256 色

在翻译这句话时,我对原文做了一些省略。原文是这样的:

They are limited to a 256 color palette, shared across all frames.

我省略了后半句,原因在于原文有误。如果 GIF 动画采用 “全局调色板”,则所有帧都只能共用这 256 种颜色;如果采用 “局部调色板”,则每帧可以自己决定使用哪 256 种颜色,但文件体积也会增长(每帧都要保存独立的调色板信息,而且帧间压缩率也可能会急剧下降)。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant