Browser rendering of retro 8/16-bit image formats onto an HTML canvas.
Supported formats:
| Format | Extension | Sizes |
|---|---|---|
| ZX Spectrum screen | .scr |
6912 bytes (colour, 256×192) or 6144 bytes (mono bitmap) |
| Atari ST NEOchrome | .neo |
32128 bytes (low/medium/high) or 128128 bytes (640×400 virtual canvas, flag 0xBABE) |
| Atari ST Spectrum 512 | .spu |
51104 bytes (320×200, 48 colours per scanline) |
| Atari ST Spectrum 512 compressed | .spc |
RLE-compressed .spu with an SP header |
| Atari ST DEGAS / DEGAS Elite | .pi1–.pi3, .pc1–.pc3 |
32034 bytes raw (low/medium/high) or 32066 with the colour-cycling trailer; .pc* is PackBits compressed |
| Amiga IFF ILBM / PBM | .iff, .ilbm, .lbm, .pbm |
any size; dimensions come from the BMHD chunk |
ILBM is a chunked container, so it is recognised by its FORM .... ILBM
(or Deluxe Paint's PBM ) header rather than by file length. Supported:
- 1-8 bitplanes with a 12-bit (OCS/ECS) or 24-bit (AGA)
CMAPpalette - uncompressed and ByteRun1/PackBits compressed
BODYchunks - Extra Half Brite (64 colours), including files that leave out the CAMG bit but have six planes and a 32-colour palette
- HAM6 (4096 colours) and HAM8 (AGA, 8 planes)
- mask planes are skipped and unknown chunks (
CRNG,DEST,ANNO, ...) are ignored
pnpm install
pnpm buildThe TypeScript sources in src/ are compiled into dist/combined.js as a
single SystemJS bundle.
pnpm startThen open http://127.0.0.1:3939/. The dev server serves files from src/
first and the repository root second, so the samples in samples/ (git-ignored,
bring your own) and the build output in dist/ are available alongside the
demo page.