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.

2868 questions
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
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
  • 1,848
  • 2
  • 19
  • 37
20
votes
2 answers

Mac Terminal - Create animated gif from png files

I have a bunch of png files named as 1.png, 2.png, etc. and I want to create an animated gif image from them all. I haven't been successful in finding a solution for a terminal command that will convert these png files into a single animated…
StanLe
  • 4,607
  • 8
  • 34
  • 41
19
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
  • 7,666
  • 9
  • 40
  • 52
19
votes
2 answers

How to save canvas animation as gif or webm?

i have written this function to capture each frame for the GIF but the output is very laggy and crashes when the data increases. Any suggestions ? Code : function createGifFromPng(list, framerate, fileName, gifScale) { …
Hashir Salam
  • 195
  • 1
  • 1
  • 7
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,559
  • 3
  • 22
  • 45
18
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,045
  • 2
  • 9
  • 24
18
votes
6 answers

How to animate .gif images in an android?

Here is the code for xml: Here the minepic is a gif animated image but after running…
Danny
  • 1,050
  • 3
  • 11
  • 26
17
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); …
JackTurky
  • 12,431
  • 41
  • 126
  • 208
17
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
17
votes
4 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
  • 315
  • 1
  • 3
  • 6
17
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,578
  • 5
  • 36
  • 62
17
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,079
  • 3
  • 13
  • 21
17
votes
1 answer

File with JPG extension acts like a GIF with a cat shooting a gun with heavy kickback

I recently came across this image which seems like a normal GIF: Even imgur stores it as a GIF when I uploaded it here. But when I saw the link, it was a JPEG image, unlike a GIF than what I had expected! Here's the link:…
gopi1410
  • 6,148
  • 8
  • 38
  • 73
17
votes
5 answers

gif animation not playing on refresh

First time I view the page with an animated .gif it plays fine on page load (lasts about 2 secs). On refresh (F5), the .gif no longer plays and only the last frame of gif animation is shown. Is there anything I can do do to make sure it plays…
Feeney
  • 357
  • 2
  • 4
  • 12