Questions tagged [gif]

GIF (Graphics Interchange Format) is an image file format associated with ".gif" file extension. Use this tag for questions involving this specific format.

GIF (Graphics Interchange Format) is an image file format associated with ".gif" file extension.

The GIF file format has many limitations compared to modern image files, including a limited color palette and lossless compression, which makes it a poor choice for storing photos. Despite the limitations, GIFs remain popular due to animation capabilities and widespread decoder support in web browsers.

3188 questions
24
votes
3 answers

Why doesn't whatsapp play all gifs?

When I create a gif, which works fine in Chrome, I cannot make it play in WhatsApp. It just shows a static image. To give an example, I am using lua with the lua-gd package to draw gifs. Even the example code given, which gives a nice gif of an…
JBrouwer
  • 385
  • 1
  • 3
  • 6
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
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
23
votes
7 answers

Converting transparent gif / png to jpeg using java

I'd like to convert gif images to jpeg using Java. It works great for most images, but I have a simple transparent gif image: Input gif image http://img292.imageshack.us/img292/2103/indexedtestal7.gif [In case the image is missing: it's a blue…
asalamon74
  • 6,120
  • 9
  • 46
  • 60
22
votes
7 answers

Convert each animated GIF frame to a separate BufferedImage

I want to be able to take an animated GIF as input, count the frames (and perhaps other metadata), and convert each to a BufferedImage. How can I do this?
Marty
  • 2,104
  • 2
  • 23
  • 42
22
votes
2 answers

Play Animations in GIF with Tkinter

I've been trying to play an animated gif using Tkinter.PhotoImage, but haven't been seeing any success. It displays the image, but not the animation. The following is my code: root = Tkinter.Tk() photo = Tkinter.PhotoImage(file =…
Zizouz212
  • 4,908
  • 5
  • 42
  • 66
22
votes
7 answers

How to display a gif fullscreen for a webpage background?

I'm trying to make a GIF fit my whole screen, but so far its just a small square that is on my screen while the rest is white. However, I want it to take up all the space. Any ideas?
user3264048
  • 229
  • 1
  • 3
  • 6
21
votes
5 answers

How to Fade In/Out multiple texts using CSS/jQuery like on Droplr?

I've seen this type of animation on a website just when CSS3 key-frames started to gain momentum, but couldn't find it nor could I replicate it using CSS or jQuery, and here's where I thought some of you could help. I've animated what I hope to…
Amruth Pillai
  • 1,539
  • 2
  • 13
  • 28
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
20
votes
8 answers

How to display .gif file in imageview?

My layout have lots of imageviews. I want to show .gif animated file in just one imageview. I tried Yash method (Adding gif image in an ImageView in android) but .gif file shown all layout. Other views dissappeared. I want to show all. Any idea?
Breed Hansen
  • 1,159
  • 5
  • 13
  • 21
19
votes
7 answers

How to put a gif with Canvas

I'm creating a game, and in my game, when the HERO stay near the MONSTER, a gif will be showed, to scare the player. But I have no idea how to do this. I tried to put PHP or HTML code, but it doesn't works... The function is AtualizaTela2(). This…
Grandtour
  • 1,127
  • 1
  • 11
  • 28
19
votes
6 answers

Display GIF in a WP7 application with Silverlight

I would like to display gif in my WP7 application. Is there some way to achieve this ? I've tryed this one http://imagetools.codeplex.com/ but can't make it working with WP7. Thanks in advance for any help
Tim
  • 1,749
  • 3
  • 24
  • 48
19
votes
3 answers

Python: Convert GIF To video(mp4)

I am trying to find some way for converting GIF to mp4 using Python or library. I didn't found any solution for it. I found a library for generating gifs from videos but not the other way round. Can anyone please give me some information on how to…
NaMo
  • 513
  • 1
  • 6
  • 19
18
votes
6 answers

Showing gif in android

i have this code to show gif image with Movie. public class GIFView extends View{ private Movie movie; private InputStream is; private long moviestart; public GIFView(Context context) { super(context); …
Jayyrus
  • 12,961
  • 41
  • 132
  • 214