Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
255-codes.conf
255-codes.gif
4095-codes-clear.conf
4095-codes-clear.gif
4095-codes.conf
4095-codes.gif
README.md
TESTS
all-blues.conf
all-blues.gif
all-blues.png
all-blues.rgba
all-greens.conf
all-greens.gif
all-greens.png
all-greens.rgba
all-reds.conf
all-reds.gif
all-reds.png
all-reds.rgba
animation-erase.0.png
animation-erase.0.rgba
animation-erase.1.png
animation-erase.1.rgba
animation-erase.2.png
animation-erase.2.rgba
animation-erase.3.png
animation-erase.3.rgba
animation-fill.0.png
animation-fill.0.rgba
animation-fill.1.png
animation-fill.1.rgba
animation-fill.2.png
animation-fill.2.rgba
animation-fill.3.png
animation-fill.3.rgba
animation-multi-image-explicit-zero-delay.conf
animation-multi-image-explicit-zero-delay.gif
animation-multi-image.conf
animation-multi-image.gif
animation-no-delays.conf
animation-no-delays.gif
animation-speed.conf
animation-speed.gif
animation-zero-delays.conf
animation-zero-delays.gif
animation.0.png
animation.0.rgba
animation.1.png
animation.1.rgba
animation.2.png
animation.2.rgba
animation.3.png
animation.3.rgba
animation.conf
animation.gif
checkerboard.png
checkerboard.rgba
comment.conf
comment.gif
decode-bmp.py
decode-png.py
depth1.conf
depth1.gif
depth2.conf
depth2.gif
depth3.conf
depth3.gif
depth4.conf
depth4.gif
depth5.conf
depth5.gif
depth6.conf
depth6.gif
depth7.conf
depth7.gif
depth8.conf
depth8.gif
disabled-transparent.conf
disabled-transparent.gif
dispose-keep.conf
dispose-keep.gif
dispose-none.conf
dispose-none.gif
dispose-restore-background.conf
dispose-restore-background.gif
dispose-restore-previous.conf
dispose-restore-previous.gif
double-clears.conf
double-clears.gif
empty.icc
empty.xmp
extra-data.conf
extra-data.gif
extra-pixels.conf
extra-pixels.gif
four-colors-transparent.png
four-colors-transparent.rgba
four-colors.conf
four-colors.gif
four-colors.png
four-colors.rgba
gif87a-animation.conf
gif87a-animation.gif
gif87a.conf
gif87a.gif
high-color.conf
high-color.gif
high-color.png
high-color.rgba
icc-color-profile-empty.conf
icc-color-profile-empty.gif
icc-color-profile.conf
icc-color-profile.gif
image-inside-bg.conf
image-inside-bg.gif
image-inside-bg.png
image-inside-bg.rgba
image-outside-bg.conf
image-outside-bg.gif
image-outside-bg.png
image-outside-bg.rgba
image-overlap-bg.conf
image-overlap-bg.gif
image-overlap-bg.png
image-overlap-bg.rgba
image-zero-height.conf
image-zero-height.gif
image-zero-size.conf
image-zero-size.gif
image-zero-width.conf
image-zero-width.gif
images-combine.conf
images-combine.gif
images-overlap.conf
images-overlap.gif
interlace.conf
interlace.gif
invalid-ascii-comment.conf
invalid-ascii-comment.gif
invalid-background.conf
invalid-background.gif
invalid-code.conf
invalid-code.gif
invalid-colors.conf
invalid-colors.gif
invalid-transparent.conf
invalid-transparent.gif
invalid-utf8-comment.conf
invalid-utf8-comment.gif
large-codes.conf
large-codes.gif
large-comment.conf
large-comment.gif
local-color-table.conf
local-color-table.gif
loop-animexts.conf
loop-animexts.gif
loop-buffer.conf
loop-buffer.gif
loop-buffer_max.conf
loop-buffer_max.gif
loop-infinite.conf
loop-infinite.gif
loop-max.conf
loop-max.gif
loop-once.conf
loop-once.gif
many-clears.conf
many-clears.gif
max-codes.conf
max-codes.gif
max-height.conf
max-height.gif
max-height.png
max-height.rgba
max-size.conf
max-size.gif
max-width.conf
max-width.gif
max-width.png
max-width.rgba
missing-pixels.conf
missing-pixels.gif
missing-pixels.png
missing-pixels.rgba
no-clear-and-eoi.conf
no-clear-and-eoi.gif
no-clear.conf
no-clear.gif
no-data.conf
no-data.gif
no-eoi.conf
no-eoi.gif
no-global-color-table.conf
no-global-color-table.gif
nul-application-extension.conf
nul-application-extension.gif
nul-comment.conf
nul-comment.gif
plain-text.conf
plain-text.gif
random-image.png
random-image.rgba
random_image.png
sRGB.icc
test.xmp
transparent-dot.png
transparent-dot.rgba
transparent.conf
transparent.gif
unknown-application-extension.conf
unknown-application-extension.gif
unknown-extension.conf
unknown-extension.gif
white-dot.png
white-dot.rgba
white-hline2.png
white-hline2.rgba
xmp-data-empty.conf
xmp-data-empty.gif
xmp-data.conf
xmp-data.gif
zero-height.conf
zero-height.gif
zero-size.conf
zero-size.gif
zero-width.conf
zero-width.gif

README.md

This is a test suite to check GIF decoders.

To use read the file TESTS to find the list of tests.

For each test, open the file .conf which will describe the test.

[config]
input = foo.gif          # Name of GIF file to decode
version = GIF89a         # GIF version
width = 16               # Expected width in pixels
height = 16              # Expected height in pixels
background = #ffffff     # Background color of image (ignored in most renderers, provided images use transparency for background)
frames = frame0,frame1   # Frames generated by this GIF
loop-count = 0           # Number of times to loop the animation or infinite to loop forever
force-animation = no     # If yes, then this is a GIF that is wrongly encoded but most readers interpret it as animated (a default delay is added to each image)
buffer-size = 0          # Number of bytes to buffer before playing (if present)
comment = 'Hello World'  # Comment extension set in file (if present)
color-profiles = foo.icc # ICC Color profiles (if present)
xmp-data = foo.xml       # Extensible Metadata Platform (XMP) Data (if present)

[frame0]
image = foo0.png         # Expected frame in PNG format
delay = 5                # Expected delay after this frame in 1/100 ms

[frame1]
pixels = foo1.rgba       # Expected pixel data in 8 bit RGBA format