问题标签 [animated-gif]

For questions regarding programming in ECMAScript (JavaScript/JS) and its various dialects/implementations (excluding ActionScript). Note JavaScript is NOT the same as Java! Please include all relevant tags on your question; e.g., [node.js], [jquery], [json], [reactjs], [angular], [ember.js], [vue.js], [typescript], [svelte], etc.

0 投票
2 回答
561 浏览

.net - 图像动画在最小化和恢复时停止

我有一个带有动画 GIF 的 .NET WinForms 应用程序PictureBox。这是一个加载动画,当 aBackgroundWorker在另一个线程中进行一些处理时显示。我通过设置属性加载图像,Image它自己动画。

一切都很好,直到我最小化并恢复应用程序。此时,图像停止动画并仅显示上一帧。

注意:

  • 后台线程仍然运行良好,应用程序的“业务”没有受到影响。
  • 随后显示的动画 GIF 确实可以正常工作(除非再次最小化应用程序)。

有谁知道是什么导致了这个问题?任何解决方法?

0 投票
5 回答
7698 浏览

html - 在 HTML 中禁用 GIF 动画

在 HTML 中,有没有办法在 <img> 标签中包含动画 GIF,但会自动告诉 GIF 不动画?我意识到用户可以通过按 ESC 或单击停止来停止动画,但我希望 GIF 根本不动画。

我只想在一个特定页面上执行此操作,并且制作 (1500+) GIF 的单独非动画版本是不可行的。我只是想让 GIF 没有动画。

0 投票
2 回答
2111 浏览

animated-gif - 动画 gif 文件在 IE7 中不起作用

我正在从 Sams Teach Yourself Ajax、Javascript 和 Php All in One 学习 Ajax,并测试了一个显示服务器时间正常但不显示繁忙 gif 图像的示例。事实上,我得到的只是文件应该是 Windows 图片的红十字框,传真查看器显示移动的 gif 文件 好的,我做错了什么?我没有使用 gif 文件的先验知识

0 投票
5 回答
5713 浏览

ios - 动画 GIF 在 iPhone 上不起作用

我正在使用cell.image = an animated gif file(单元格是UITableViewCell)。但是,它没有动画。有什么办法可以解决吗?

0 投票
1 回答
1267 浏览

.net - 如何从动画 GIF 中提取帧时间信息?

这是由前面的问题引起的。显然ImageList不支持动画 GIF,所以我坚持自己制作动画。

我知道如何提取帧,但有人知道如何从动画 GIF中提取帧时间信息吗?

0 投票
2 回答
6781 浏览

php - Imagick:从动画 GIF 中删除帧?

我试图了解如何从动画 GIF 中删除帧。

目前我正在尝试这个(作为测试):

然而,这似乎烤干了对象中的所有内容。

同事的建议是只创建另一个 IM 对象,并在其中提取一个名人,等等。但这似乎非常混乱。

0 投票
8 回答
70868 浏览

c# - how to create an animated gif in .net

Does anyone know how to create an animated gif using c#? Ideally I would have some control over the color reduction used.

Is using imagemagick (as an external started process) the best choice?

0 投票
1 回答
9403 浏览

android - Android 动画 GIF(纸杯蛋糕)

我在 Android pre cupcake 中使用了动画 GIF,但是我的旧代码不再有效。准确地说:

总是返回 null ... 有没有人有任何解决方法/修复来播放动画 GIF?

0 投票
4 回答
31728 浏览

r - 使用 R 制作动画 gif

有没有人有关于在 R 中制作动画 GIF 的任何提示?我正在尝试制作一些延时地图 GIF。

0 投票
2 回答
6053 浏览

vb.net - GIF manipulation in vb.net

Is it possible, without an external code library, to separate a .gif file into its individual frames, and conversely, to assemble a group of images into one?

I have spent a while playing with the System.Drawing namespace, and cannot seem to figure out how.

Also, I cannot figure out what to pass as a parameter for GetFrameCount. I do not know what they mean by a "dimension", and apparently it cannot be left null.

Additionally, is it possible to have playback control over the gif without first splitting it and recompiling/displaying in a way that mimics playback?

Thanks for the help.

This is in vb.net, 2008.

EDIT: If it is not possible without an external library, what is the best one to use?