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
23
votes
2 answers

Where can I find a variety of "while you wait" spinning gear cog gif images

I am looking for an image generator for images that: Look like cogs, wheels, progress bars, etc. Spin. Are small, less than 20-30 pixels. 16 might be good, i.e. 'icon size' Are simple, just 2D no need for 3d image. All the examples I found are…
Michael Durrant
  • 93,410
  • 97
  • 333
  • 497
22
votes
10 answers

Restart a gif animation without reloading the file

Is it possible to restart a gif animation without downloading the file every time? My current code looks like this: var img = new Image(); img.src = 'imgages/src/myImage.gif'; $('#id').css('background-image', 'url("' + img.src + '?x=' + Date.now()…
Erfan Ebrahimnia
  • 262
  • 1
  • 2
  • 9
21
votes
8 answers

Restart animated GIF as background-image

Is it possible to restart an animated GIF used as background-image? Consider this HTML:
And this style: #eyes.blink { background-image:url('blink.gif'); } I would like the blink.gif animation…
hpique
  • 119,096
  • 131
  • 338
  • 476
21
votes
4 answers

Is it possible to get the new ImageDecoder class to return Bitmaps, one frame after another, manually?

Background I'm trying to go over bitmaps of animated GIF&WEBP files manually (frame by frame), so that it would work not just for Views, but on other cases too (such as a live wallpaper). The problem Animated GIF/WEBP files are supported only from…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
20
votes
3 answers

play downloaded Gif image in android

I'm downloading GIF image in my app from server and then i'm showing it with ImageView but it was not animated . is there any other way to play downloaded animated GIF image . Thanks in advance .
neeraj
  • 740
  • 1
  • 6
  • 21
19
votes
0 answers

What's the use and advantages of using ImageDecoder of Android P?

Background Android P presents a new API for loading images, using ImageDecoder class. The problem Not much is documented about this class, so I'm just curious about its usage, and whether I should consider using it when possible, instead of Glide…
android developer
  • 114,585
  • 152
  • 739
  • 1,270
19
votes
3 answers

Set Animated .GIF As Background Android

I am new to Android and I am having trouble playing an animated .gif file in the background of my layout. When I run the application the background is a single frame of the animated .gif, just like a picture. I have done research mainly in two…
Blue SeventyTwo
  • 539
  • 2
  • 4
  • 12
18
votes
2 answers

Access GIF frames with C#

I'm a beginner in C#. I would like to know if there's a way to access different frames inside a GIF animation with C#. I'm using Visual Studio 2008.
Valeria
  • 183
  • 1
  • 2
  • 6
18
votes
3 answers

Show .gif with android.graphics.Movie

I'm trying, create a view with an animated GIF.. When i try run the follow code in emulator all works fine. But when i try run in real Smart Phone, nothing happens.. My view: public class GIFView extends View { private Movie mMovie; private long…
Alexandre Pinheiro
  • 370
  • 2
  • 6
  • 16
17
votes
7 answers

How to keep animated gif running while doing intense calculations

I have a page which does some intense and long lasting calculations in Javascript. I would like to have a loading animation to tell the user progress is being made. I have an animated gif now, but the whole browser window freezes (and the gif does…
Seth Carnegie
  • 73,875
  • 22
  • 181
  • 249
17
votes
5 answers

how to create gif animation from a stack of jpgs

I have around 200 jpg images. I need to stack them so that i can convert them into a simple animated gif image. Are there any free tools available to do that job? My os is windows. I'm not so bothered about the quality of the output.
Bharath
  • 181
  • 1
  • 1
  • 5
17
votes
6 answers

Get youtube animated thumbnail

Is there a way to embed the animated thumbnail from youtube in my website? I am not talking about the static thumbnail but the one that looks like an animated .gif of about 3 seconds.
Guilherme Lopes
  • 191
  • 1
  • 1
  • 6
17
votes
5 answers

Add animated gifs to react web apps

I'm trying to define a transition state for my react web application when I'm publishing data to backend. I want to show an animated gif in my render method. So I import the gif image (like this…
Probosckie
  • 1,585
  • 4
  • 25
  • 40
17
votes
2 answers

Indicate that processor-heavy JS function is running (GIF spinners don't animate)

Showing then hiding animated indicator / spinner gifs are a good way to show a user that their action has worked and that something is happening while they wait for their action to complete - for example, if the action requires loading some data…
16
votes
2 answers

How can I create animated gif in Java?

I would like to create a gif image from the set of BufferedImages. How can I do this? Is there such library in pure Java (ImageMagick is not an option)? I've found Gif4J library but it's not royality-free.
MaXal
  • 841
  • 2
  • 8
  • 23
1 2
3
95 96