How standard libraries read GIF files

5 GIF files given to 2 readers in 8 runtime versions. Cells of the ordinary files: reads 32, differs 0, refuses 0, crashes 0. How this is measured. The results as JSON.

GIF files, by reader
FileThe manifest says Go image/gif adapter Java javax.imageio adapter Node.js
The standard library has no image decoder.
Python
The standard library has no image decoder. tkinter.PhotoImage is outside the scope rule (docs/07 section 8).
Ruby
The standard library has no image decoder.
edge/gif-zip-polyglot.gif 200 B
edge file: readers differ, and none is wrong
nothing to compare

reads reports frames 1, height 4, width 4

reads reports frames 1, height 4, width 4

no-reader no-reader no-reader
gif/1x1.gif 43 B frames 1, height 1, width 1

reads reports frames 1, height 1, width 1

reads reports frames 1, height 1, width 1

no-reader no-reader no-reader
gif/animated-10frames-256x256.gif 37.5 KB (37,550 bytes) frames 10, height 256, width 256

reads reports frames 10, height 256, width 256

reads reports frames 10, height 256, width 256

no-reader no-reader no-reader
gif/static-256x256.gif 4.9 KB (4,904 bytes) frames 1, height 256, width 256

reads reports frames 1, height 256, width 256

reads reports frames 1, height 256, width 256

no-reader no-reader no-reader
gif/transparent-256x256.gif 3.7 KB (3,743 bytes) frames 1, height 256, width 256

reads reports frames 1, height 256, width 256

reads reports frames 1, height 256, width 256

no-reader no-reader no-reader

The GIF files themselves, and the measured properties each row is compared with: GIF sample files.