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

Why does Google Analytics use a one-pixel picture to transfer data?

Google Analytics embeds a one pixel GIF with a URL like…
Jeffrey Hsu
  • 305
  • 2
  • 9
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
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
5 answers

Is there something like pngcrush for GIFs?

pngcrush does a very good job at reducing the size of PNG-Files. I was wondering if the was something similar for GIFs, which we still use in our applications (can't fix that quickly). Google Page Speed claims that our GIF images could be optimized…
Searle
  • 957
  • 2
  • 7
  • 19
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
2 answers

How can I make it so that slack bots can use Giphy?

For some reason, the existing Giphy app for slack does not allow bots to call a GIF from giphy.com If I type "/Giphy sad", the Giphy app will automatically load a sad GIF of somekind from Giphy.com But if my slackbot does it, or my hubot, or my…
leigh
  • 309
  • 1
  • 2
  • 8
17
votes
4 answers

Show loading gif after clicking form submit using jQuery

I'm trying to simply show a loading gif once the form is submitted. My code is not working correctly for the loading gif to show. You'll see my image for the gif is set to visibility: hidden.
ValleyDigital
  • 1,460
  • 4
  • 21
  • 37
17
votes
5 answers

matplotlib save animation in gif error

I want to save matplotlib animation in gif format. I succeded to save animation to mp4 format, using code import matplotlib matplotlib.use("Agg") ~some codes~ ani = animation.FuncAnimation(fig, draw, update, interval=10, blit=False) mywriter =…
user42298
  • 1,831
  • 3
  • 19
  • 30
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,567
  • 9
  • 41
  • 75
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
17
votes
4 answers

PIL - Convert GIF Frames to JPG

I tried to convert an gif to single images with Python Image Library, but it results in weird frames The Input gif is: Source Image http://longcat.de/gif_example.gif In my first try, i tried to convert the image with Image.new to an RGB image, with…
Schinken
  • 502
  • 1
  • 3
  • 9
16
votes
1 answer

How to display the GIF image from my assets in SwiftUI?

I want to use the image GIF type which named 'myAssetsGifName', presenting in my project(An App). For example, I want to reach something just like this GIF: I did some research before I asking this question.(Link1, Link2, Link3 for Watch OS, Link4…
Spencer Reid
  • 409
  • 3
  • 14
16
votes
5 answers

Pillow - Resizing a GIF

I have a gif that I would like to resize with pillow so that its size decreases. The current size of the gif is 2MB. I am trying to resize it so its height / width is smaller decrease its quality. With JPEG, the following piece of code is…
Pauline
  • 3,566
  • 8
  • 23
  • 39
16
votes
2 answers

Can I Add GIF format Image as a Splash Screen

How can i add GIF format image as a splash screen. I tried to add but when i add it. It acts as a normal image. I don't know whether we can use Gif image as splash Screen. if there is any option to work that GIF format image.
chandra
  • 229
  • 1
  • 2
  • 8
16
votes
5 answers

Why isn't firefox rendering my GIF files better?

I have some GIF files on my site which are all rendered extremely smooth on every browser excluding FireFox.. the following screens depict what I mean: EXAMPLE 1 Here is rendering of a GIF on basically Safari/Opera/Chrome.. very smooth. Here is the…
John Jackson
  • 900
  • 2
  • 12
  • 28