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
1
vote
1 answer

(LWJGL) How to load animated GIFS?

I am making a sort of 2D platformer and I want an explode animation when ever a certain thing happens. I am using lwjgl to load the textures but when I try to load a gif it just shows the first frame. So is there some way to tell it to show the…
chooky1441
  • 269
  • 1
  • 2
  • 5
1
vote
3 answers

error in saveGIF command in animation package

I'm trying to use for the first time animation package in R. I'm using this simple code: saveGIF({ for (i in 1:10) plot(runif(10), ylim = 0:1) }) But R shows this error (that i've translated in english): Executing: "convert" -loop 0 -delay 100…
Darko
  • 1,448
  • 4
  • 27
  • 44
1
vote
1 answer

AS2 Reading Raw GIF Data

I'm trying to create a GIF animation class for actionscript 2. The problem is when I load the GIF, I only get the header. For example, the only data is 'GIF89a'. How do I get the remaining data? import mx.utils.Delegate; import LoadJson; var…
Eddie
  • 1,428
  • 14
  • 24
1
vote
2 answers

How would you resize a image/gif in either CSS or HTML?

How would you resize a image/gif in either CSS or HTML? I want the image to still be proportional and I want the gif to be about the size of the google logo on google.com, how would I do that? CSS or HTML is fine.
OwenCraddock
  • 63
  • 1
  • 2
  • 6
1
vote
1 answer

Python problem with resize animate GIF

I'm want to resize animated GIF with save animate. I'm try use PIL and PythonMagickWand (ImageMagick) and with some GIF's get bad frame. When I'm use PIL, it mar frame in read frame. For test, I'm use this code: from PIL import Image im =…
gigimon
  • 1,443
  • 2
  • 13
  • 19
1
vote
1 answer

Only play gif file if it is in the screen view

Is there a way to only have a .gif play if it is in the screen view using JQuery or Javascript? There are so many .gif files on my page and it is causing lag (and no I cannot just remove them)
ZomoXYZ
  • 1,763
  • 21
  • 44
1
vote
0 answers

How to set desktop background *faster*?

I have created a program which takes .GIF images, seperates them into seperate files. Then there is a timer which calls a method to read a file in the sequence and changes the wallpaper. I was just wondering if there is anyway I can make this…
Mr_Rockers
  • 29
  • 5
1
vote
2 answers

VBA - Opening a website and saving it as a .GIF extension

I am trying to open and then save a web page which contains an image as a .GIF extension to my desktop. The below code opens a test page for me: Sub test() Dim IE As Object, Doc As Object Set IE =…
Suraj Khosla
  • 151
  • 1
  • 3
  • 11
1
vote
2 answers

Gif Graph API Facebook

I'm trying to do a post similar to those of Giphy with gif loop. To begin using the Graph API Explorer, I tried to post a gif using the "source field" but the results as is unsatisfactory
4z5ipxedey
  • 29
  • 1
  • 5
1
vote
2 answers

How can I generate a transparent GIF in Java?

The code below generates a GIF image that’s half red and half blue. How can I get one that’s half red and half transparent? I’ve tried using the IndexColorModel constructor that takes a transparent pixel index as a parameter, and also changing the…
palimpsestor
  • 1,038
  • 1
  • 8
  • 28
1
vote
2 answers

Why does a SolidBrush result in a patterned image?

I'm trying to dynamically generate a gif image of a specified size and color in an HttpHandler. For some reason, the image is being generated with a dithered color pattern rather than the solid color I expected the SolidBrush to create. The…
JeffK
  • 3,019
  • 2
  • 26
  • 29
1
vote
0 answers

How to compress a GIF in Imagick PHP API

I am having to use the imagemagick PHP API, imagick, and find that my attempts to compress a GIF image are having no effect. Here are the commands I am using: $_image = new Imagick( $image_url ); $_image->setImageFormat( $type ); // can be…
Ste77
  • 676
  • 1
  • 7
  • 21
1
vote
1 answer

Replace ImageView from PNG to GIF

I want to replace ImageView from PNG to GIF. I tried with this code: ImageView kotek = (ImageView)findViewById(R.id.imageView4); nYAn.setImageResource(R.drawable.kot); But GIF isn't animate. What i should do? Sorry for my bad…
jar001
  • 13
  • 3
1
vote
1 answer

PHP imagick gif to jpg - background

I've this gif: https://dl.dropboxusercontent.com/u/76885657/stackoverflow/2.gif (transparent background) And with this code: $im = new Imagick(); $im->readimage("example.gif"); $im->setImageAlphaChannel(11); …
lucasgabmoreno
  • 1,001
  • 1
  • 10
  • 18
1
vote
0 answers

Capture a gif with android custom camera

Is it possible to capture a gif with custom camera? I thought about animating pictures or converting video file into a gif file.
smovie9
  • 788
  • 1
  • 8
  • 16
1 2 3
99
100