Questions tagged [animated-gif]

An animated .GIF image is an image file which displays an animation.

This tag should be used in questions asking for help using an animated GIF in their applications, modifying an animated GIF in code, or reading pixels from an animated GIF in code.

Useful links

Pages where animated GIFs can be created

1436 questions
39
votes
2 answers

making gif from images using imageio in python

I have tried reading a lot of examples online and found imageio is the perfect package for it. Also found examples written in here. I have just followed the example as shown and tried the following import imageio as io import os file_names =…
jkhadka
  • 2,443
  • 8
  • 34
  • 56
38
votes
8 answers

Animated .GIF vs Spritesheet + JS/CSS

Which will scale best for performance, file-size, (and my sanity): Animated .gifs or a spritesheet with animations using CSS (and JS when need be)? Filesize So, I'm honestly not sure which will be better here since I don't understand the compression…
LoveAndCoding
  • 7,857
  • 2
  • 31
  • 55
37
votes
11 answers

Show animated GIF

How do you display an animated GIF in a Java application?
SamSol
  • 2,885
  • 6
  • 37
  • 56
37
votes
6 answers

Animated gif only loops once in Chrome and Firefox

I have an animated gif that I want to display any time a page is loading. When I view the image outside of a browser, the image loops infinitely and works just fine, but whenever I'm displaying the image in a browser, the animation only loops once.…
Ryan
  • 617
  • 2
  • 7
  • 16
31
votes
3 answers

How to fit content of GIF animation in View and in live wallpaper?

Background I have a small live wallpaper app, that I want to add support for it to show GIF animations. For this, I've found various solutions. There is the solution of showing a GIF animation in a view (here), and there is even a solution for…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
29
votes
4 answers

Record/capture Android app to animated GIF

I would like to capture/record the behavior of my Android app, running on an emulator and make a GIF image out it. Just like this one -
RoCkDevstack
  • 3,517
  • 7
  • 34
  • 56
29
votes
4 answers

Restart an animated GIF from JavaScript without reloading the image

I am creating a slideshow of animations using animated GIFs. I'm crossfading from one animation to the next. The problem is: the only way I have discovered to ensure that the GIF starts animating from the first frame is to reload it each time it's…
nornagon
  • 15,393
  • 18
  • 71
  • 85
28
votes
2 answers

How to record screen and save as gif animation?

Is there such a software?
Newbie
  • 335
  • 1
  • 4
  • 5
27
votes
4 answers

How to use Animated Gif in a delphi form

I think theres no native support to gif animated images. How is the best way? any free component that allow that? I was thinking in using a TImage and a ImageList + Timer, but I need to export each frame of the gif to a separated bmp file.
Vitim.us
  • 20,746
  • 15
  • 92
  • 109
27
votes
5 answers

Animated gif to avi on linux

Is there any way to convert an animated gif to a video format (e.g. .avi) on Linux? I have already tried ffmpeg -i thegif.gif thevideo.avi but all I get is the first image of the video.
john-jones
  • 7,490
  • 18
  • 53
  • 86
25
votes
12 answers

Proper way to reset a GIF animation with display:none on Chrome

Title is self-explanatory, but I'll provide a step-by-step view on the matter. Hopefully I'm not the first one to have noticed this (apparently) bug on Webkit/Chrome. I want to reset a GIF animation. All of the examples I've seen so far either…
Fabrício Matté
  • 69,329
  • 26
  • 129
  • 166
25
votes
2 answers

Why not animated GIF instead of animated CSS sprites?

In recent trends I've seen people animating CSS sprites using JavaScript instead of using animated GIFs? Ex: http://www.google.com/doodles/eadweard-j-muybridges-182nd-birthday (in fact, Google used this technique in other Doodles…
manikanta
  • 8,100
  • 5
  • 59
  • 66
24
votes
1 answer

Creating animated GIF with ImageIO?

Has anybody managed to convince ImageIO to write an animated GIF, and in particular setting the correct metadata? My first attempt is roughly as follows (where b1 and b2 are BufferedImages): ImageTypeSpecifier spec = new…
Neil Coffey
  • 21,615
  • 7
  • 62
  • 83
24
votes
1 answer

Recording and saving an SVG animation as an animated GIF

Is there a library or tool for recording and saving an SVG animation as an animated GIF? The SVG geometries are animated with JavaScript and D3.js, and their colors and opacities are animated with CSS 3.
Jisike
  • 383
  • 1
  • 3
  • 11
23
votes
5 answers

Disabling GIF animation in HTML

Is there any way, in HTML, to include an animated GIF in an tag, but automatically tell the GIF to not animate? I realize that the user can stop animation by pressing ESC or clicking Stop, but I want the GIFs not to animate at all. I only…
dirtside
  • 8,144
  • 10
  • 42
  • 54
1
2
3
95 96