4DBug
c0eafd29a5
ws-cleanup: consistency (lower-case tags, WAVE channel order, loops = play count, Err messages, caps)
...
- Audio tags keys are lower case everywhere (Types.Tags): FLAC no longer returns TITLE / ARTIST (the raw fields stay
in meta.source.comments; also for Vorbis and Opus); Vorbis / Opus / FLAC read and write tags through
codecs/VorbisComment (TRACKNUMBER -> track, DISCNUMBER -> disc, DESCRIPTION -> comment); MP3 albumArtist ->
albumartist and year -> date (ID3 TYER / TDRC, ID3v1); RIFF INFO / CAF / MP4 freeform names are lower-cased (MP4
writes iTunSMPB / iTunNORM back in their usual spelling; m4a reads tags.itunsmpb).
- Channel order: Vorbis (and Opus mapping family 1) decode to WAVE order like FLAC / WAV / AAC (both used to return
the Vorbis order); the Vorbis encoder takes WAVE order and writes Vorbis order. Pcm.WAVE_FROM_VORBIS / Pcm.reorder;
Vorbis.packetDecoder gives pd.order. Tests reorder oggdec's / opusdec's raw (Vorbis-order) references.
- img.loops is the play count in GIF, APNG and WebP (they already agreed; Types / WebP docs said "loop count");
tests/api round-trips loops 0 / 1 / 3 through all three.
- Err: messages without the format name (png / midi encoders said "png encode: ..."); codecs/Bzip2 and codecs/Zstd
check arguments through Bytes.span.
- caps: mp3 encodeLayers = { 2, 3 }, opus encodeChannels = 2.
2026-10-31 11:01:22 -05:00
4DBug
2ca0d1f10a
ws-video-codecs: codecs/Jpeg (the JPEG engine moved down from image/jpeg; byte-range API, yuv420p decode / encode, AVI1 fields); image/jpeg is a thin format over it
2026-10-31 09:28:38 -05:00
4DBug
646d18f056
merge ws/webp
2026-10-31 09:12:40 -05:00
4DBug
d19c949e95
ws-webp: merge ws/absorb (containers/Riff); image/webp reads and writes its chunks through containers/Riff (private chunk reader removed); bench lines merged; registry regenerated
2026-10-31 09:08:44 -05:00
4DBug
7a6ba8ef10
ws-webp: inline the boolean decoder in the VP8 token loop, cheaper loop-filter tests, no closures in 4x4 prediction; speed notes
2026-10-31 09:03:02 -05:00
4DBug
c56ca75ed2
ws-webp: encoder tries several transform configurations at effort 6+ (palette vs predictor, tile sizes); argument validation in encode / coalesce; NOTICE row for the libwebp ports
2026-10-31 09:00:59 -05:00
4DBug
ca262e19df
merge ws/imgA: jpeg gif tiff tga qoi pnm ico hdr, codecs Dct/Lzw/Quantize, ops/ImageOps, api image hooks
2026-10-31 09:00:39 -05:00
4DBug
5977b60df6
ws-webp: codec tests (vp8, vp8l), bench lines, type fixes
2026-10-31 08:58:17 -05:00
4DBug
f0f1eb6c47
imgA: merge ws/imgA-simple (tga, qoi, pnm, ico, hdr)
2026-10-31 08:58:09 -05:00
4DBug
7c3d4b75ec
ws-webp: image/webp (VP8 / VP8L / ALPH / VP8X / animation / metadata decode, lossless + animated encode), codecs/Vp8L encoder, fixtures vs dwebp / Pillow / libvpx, tests
2026-10-31 08:55:49 -05:00
4DBug
4dab50793f
imgA-simple: image/ico (ICO/CUR: 1-32 bit DIBs + AND masks, PNG entries via opts.decodeImage / encodeImage, hotspots) against Pillow
2026-10-31 08:54:33 -05:00
4DBug
f5fa1cb8b0
imgA: merge ws/imgA-tiff (image/tiff)
2026-10-31 08:52:52 -05:00
4DBug
e15774c10b
imgA-simple: image/hdr (Radiance RGBE: flat / old / new RLE, all orientations, EXPOSURE; RLE writer) against ImageMagick and rgbe.c
2026-10-31 08:51:42 -05:00
4DBug
b2dd3475ac
imgA-tiff: image/tiff read (strips/tiles, planar, LZW/Deflate/PackBits/JPEG via hook, predictors 2/3, 1-32 bit int + 16/32/64 float, palette, CMYK, alpha, BigTIFF, pages) and write (none/deflate/lzw/packbits, predictors, multi-page); tifffile + ImageMagick fixtures
2026-10-31 08:50:42 -05:00
4DBug
f2e15af64d
imgA-simple: image/tga (types 1/2/3/9/10/11, 8-32 bit, colour maps, origins; raw/RLE writer with TGA 2.0 footer) against Pillow / ImageMagick
2026-10-31 08:48:55 -05:00
4DBug
84c461f10d
imgA-simple: image/pnm (PBM/PGM/PPM ASCII + binary, PAM, PFM; read/write, 16-bit, odd maxvals) against ImageMagick
2026-10-31 08:45:33 -05:00
4DBug
dc974d8fae
imgA: merge ws/imgA-gif (image/gif + codecs/Quantize)
2026-10-31 08:44:55 -05:00
4DBug
1824489291
imgA: jpeg opts.native (grey files -> gray8); Dct local type annotations
2026-10-31 08:44:49 -05:00
4DBug
bad0fce095
absorb: image/bmp (reader from bmp-luau b86aed6 + new encoder: 8 bpp paletted / 24 / 32 bpp, V4 alpha or BI_RGB); BMP Suite vs Pillow, encoder byte-exact vs Pillow
2026-10-31 08:44:40 -05:00
4DBug
58b6671183
imgA: image/jpeg (absorbed jpeg-luau decoder + arithmetic coding, meta, EXIF orientation, encoder byte-identical to cjpeg) and codecs/Dct
...
- codecs/Dct: jpeg-luau's islow / reduced IDCTs + a forward islow DCT with jcdctmgr.c's quantiser; tests/codecs/dct.luau
- image/jpeg: Decode (marker parser, absorbed + reader ranges, SOF9/SOF10 + DAC, EXIF / ICC / COM / JFIF density),
Scan + Color (absorbed), Arith (jdarith.c port), Encode (baseline / optimised / progressive, 444/422/420, restarts,
APP1/APP2/COM from meta), Tables (annex K)
- tests: 115 cjpeg/jpegtran/Pillow files, 444 decodes bit-exact with djpeg at 1, 1/2, 1/4, 1/8 (104 arithmetic),
38 encodes byte-identical to cjpeg (so djpeg decodes them), orientation, meta, truncation, fuzz
- licenses: libjpeg-turbo LICENSE + README.ijg, NOTICE rows
- tools/bench.luau: jpeg block; tools/bench.sh runs every fixture generator (bench blocks read their outputs)
2026-10-31 08:44:15 -05:00
4DBug
33fcea599d
imgA-simple: image/qoi (full spec read/write; byte-identical to Pillow's encoder) with Pillow fixtures
2026-10-31 08:42:06 -05:00
4DBug
603689bc14
imgA-gif: image/gif (read + write, animation, transparency, loops, comments) and codecs/Quantize (median cut, octree, Floyd-Steinberg); ImageMagick / Pillow fixtures
2026-10-31 08:34:32 -05:00
4DBug
e26de7cda8
absorb: apng decode (acTL/fcTL/fdAT -> img.frames, loops, hidden default image, sequence/rect/limit checks), Png.composite (dispose/blend, byte-exact with ffmpeg), APNG encoder from img.frames; tests vs ffmpeg + hand-made APNGs
2026-10-31 08:28:47 -05:00
4DBug
cdcb5b0b77
formats-luau foundation: build (darklua + token passes) for Roblox and LuaJIT, compat prelude, core, Types, host adapters, API + registry, lint, tests on both runtimes; absorb deflate (codecs/Deflate + new compressor) and png (image/png + new encoder)
2026-10-31 08:18:01 -05:00