是否有一种技巧可以创建电视静态的动画 gif 以使其相对较小? [英] Is there a trick to creating an animated gif of tv static that will allow it to be relatively small?

查看:28
本文介绍了是否有一种技巧可以创建电视静态的动画 gif 以使其相对较小?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

提前道歉,但这并不是真正的 photoshop 问题.相反,我试图想出一些令人信服的东西,但尽可能地利用 gif 格式的压缩和特性来为动画生成尽可能小的文件.

Apologies in advance, but this isn't really a photoshop question. Rather, I'm trying to come up with something that is convincing but exploits the compression and features of the gif format as best as possible to produce the smallest possible file for the animation.

一些限制:

  • 至少需要 20 或 30 帧.我试过更少的(因为它们基本上是不可压缩的,一般来说,15 帧是 30 的一半大小)
  • 尺寸不得小于约 256x192
  • 它不需要是彩色的,甚至不需要全灰度.我看过令人信服的剧照,只有大约 16 个灰色
  • 它可以有一种模式,但不能是人眼一目了然的模式.如果有人拍了一帧,一两分钟后可以发现模式(这使它可以压缩?)那没关系
  • 第 2 帧到第 n 帧可以使用相当多的 alpha,但是当我开始使用大的 alpha 水平条纹时,我的眼睛立即注意到了.因此,您不必通过简单的作弊来积累大量 RLE.
  • 以上所有内容仍然需要在 30-33 毫秒的帧速度下看起来不错.没有变速或依赖比这明显更快的任何东西.

也可以接受:符合上述约束的 apng.甚至可能是 mpeg,如果你能想到的话(我不知道 DCT 是如何发挥它的魔力的).

Also acceptable: an apng that complies with the above constraints. Possibly even mpeg, if you can come up with that (I'm ignorant of how the DCT does its magic).

理想情况下,我可以得到 250kbyte 范围内的东西,但我会接受任何比我上周制作的 9 兆字节的怪物小得多的东西.

Ideally I could get something down in the 250kbyte range, but I'd settle for anything significantly smaller than the 9 meg monstrosity I cooked up last week.

哦,还有最后一件事:显然我不希望有人为我提供图形.我只是在寻找一些能让我最终达到目标的技巧.

Oh, and one last thing: obviously I don't expect anyone to supply the graphic for me. I'm just looking for some trick(s) that will let me get there myself eventually.

推荐答案

很老但仍然没有答案的答案(无论如何都没有检查)

Well old but still unanswered answer (not checked anyway)

  1. 创建 NoSignal 图像数据

如果不明显怎么读:

编码成gif

玩了一下,所以我使用分辨率320x240,可用的最低位分辨率是每像素3 bit.下身不好看.仅单个全局调色板(显而易见)此处 300KB 示例

Had played with it a bit so I used resolution 320x240, the lowest bit resolution usable is 3 bit per pixel. Lower does not look good. Single global palette only (obvious) here 300KB example

[注释]

如果这只是针对某些应用程序,那么在运行时生成图像,实际上只需几行代码即可看到项目符号中的链接答案#1

if this is just for some app then generate the image on the run it is really just few lines of code see that linked answer in bullet #1

这篇关于是否有一种技巧可以创建电视静态的动画 gif 以使其相对较小?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆