Sample gif file (.gif)
GIF (Graphics Interchange Format) is bitmap image formatintroduced in 1987 by CompuServe.
The format supports up to 8 bits per pixel thus allowing a single image to reference a palette of up to 256 distinct colors. The colors are chosen from the 24-bit RGB color space. It also supports animations and allows a separate palette of 256 colors for each frame.
$ file sample.gif
sample.gif: GIF image data, version 89a, 48 x 48
$ gifsicle -I < sample.gif
* <stdin> 1 image
logical screen 48x48
global color table [4]
background 2
+ image #0 48x48 transparent 2
delay 0.10s
Sample static gif file with transparency: download here.
$ file sample_animated.gif
sample_animated.gif: GIF image data, version 89a, 48 x 48
$gifsicle -I < sample_animated.gif
* <stdin> 4 images
logical screen 48x48
global color table [4]
background 2
loop forever
+ image #0 48x48 transparent 2
disposal background delay 0.50s
+ image #1 48x48 transparent 3
disposal background delay 0.50s
+ image #2 48x48 transparent 3
disposal background delay 0.50s
+ image #3 48x48 transparent 3
disposal background delay 0.50s
Sample animated gif file 4 frames 50 ms delay between frames: download here.
$ file sample_animated_framerate.gif
sample_animated_framerate.gif: GIF image data, version 89a, 48 x 48
$ gifsicle -I < sample_animated_framerate.gif
* <stdin> 4 images
logical screen 48x48
global color table [4]
background 2
loop forever
+ image #0 48x48 transparent 2
disposal background delay 0.10s
+ image #1 48x48 transparent 3
disposal background delay 0.10s
+ image #2 48x48 transparent 3
disposal background delay 0.10s
+ image #3 48x48 transparent 3
disposal background delay 0.10s
Sample animated gif file 4 frames 50 ms delay between frames with cumulative rendering: download here.
$ file sample_animated_cumulative.gif
sample_animated_cumulative.gif: GIF image data, version 89a, 48 x 48
$ gifsicle -I < sample_animated_cumulative.gif
* <stdin> 4 images
logical screen 48x48
global color table [4]
background 2
loop forever
+ image #0 48x48 transparent 2
disposal asis delay 0.50s
+ image #1 48x48 transparent 3
disposal asis delay 0.50s
+ image #2 48x48 transparent 3
disposal asis delay 0.50s
+ image #3 48x48 transparent 3
disposal asis delay 0.50s
Sample animated gif file 4 frames 50 ms delay between frames with cumulative rendering: download here.
Tags: image losless animated