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
ef6c658d78
ws-arch: font/woff and font/woff2 (glyf/loca/hmtx transforms) with tests: identical glyphs to the sfnt
2026-10-31 08:42:57 -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
eeb62192b5
data: data/json and data/xml (thin wrappers over codecs/Json / codecs/Xml; JSON Lines option; API tests)
2026-10-31 08:40:26 -05:00
4DBug
e0629b12a3
vec: layered/psd (PSD/PSB read: all modes/depths, RLE/ZIP, groups, masks, clipping; write: 8-bit RGB layers + merged), codecs/Blend (blend modes, layer-tree compositing), ops/LayerOps (flatten, frames, leaves); Types: Layer gains optional children/clip/mask + Layered.layer/group constructors (backward compatible). Tests vs psd-tools incl. psd-tools reading our PSD
2026-10-31 08:39:56 -05:00
4DBug
5bda4f8cbc
absorb: audio/flac (from flac-luau 7083d0d: native + Ogg FLAC via a direct containers/Ogg require, Types.Decoder open with read(n, out?), decode to Audio, sniff incl. ID3 + fLaC); bit-exact vs flac -d on 46 generated streams; flac + wav bench lines
2026-10-31 08:39:09 -05:00
4DBug
aee2d3257e
ws-audio: merge ws/absorb (Ogg + muxer, Riff, wav, mp3, opus, apng)
2026-10-31 08:39:08 -05:00
4DBug
315e819b01
ws-audio: audio/aiff (AIFF/AIFC incl. sowt/fl32/fl64/ulaw/alaw), audio/au, audio/voc: decode/open/encode; codecs/Pcm folder (+ Convert: raw sample formats <-> f32, G.711, rawDecoder/audioDecoder/encode); fixtures vs ffmpeg/sox, encoder outputs decoded by ffmpeg in the fixture step
2026-10-31 08:38:56 -05:00
4DBug
a1edea0e44
data: codecs/Xml (XML 1.0 DOM + pull events + serializer: UTF-8/16/Latin-1, entities incl. internal DOCTYPE with expansion limit, CDATA, comments, PIs, namespaces as qualified names + node.ns / clark, xml:space); ElementTree + expat fixtures; bench lines
2026-10-31 08:38:55 -05:00
4DBug
f6ce1da736
ws-arch: merge ws/arch-lzma
2026-10-31 08:38:55 -05:00
4DBug
9fadc7155f
ws-arch: merge ws/arch-zstd
2026-10-31 08:37:32 -05:00
4DBug
63a2e33387
ws-arch: merge ws/arch-brotli
2026-10-31 08:37:32 -05:00
4DBug
77b840166e
ws-arch: archive/7z: 7z read (plain / encoded headers, solid folders, copy / LZMA / LZMA2 / Deflate with BCJ / ARM64 / delta filters, UTF-16 names, mtimes, attributes, CRCs; lazy per-folder decode); tests against 7-Zip 26
2026-10-31 08:37:15 -05:00
4DBug
45cc667083
ws-arch: codecs/Zstd (RFC 8878 decoder from the spec: frames, skippable frames, raw/RLE/compressed blocks, Huffman literals, FSE tables, repeat offsets, XXH64 checksum on 32-bit halves) + archive/zst (single-stream archive); tests against the zstd CLI on both runtimes
2026-10-31 08:36:24 -05:00
4DBug
0bfd70e1ca
ws-arch: codecs/Brotli (RFC 7932 decoder: all meta-block kinds, context modes/maps, static dictionary + 121 transforms, large windows) and archive/br (single-stream archive); tools/brotli_static.py generates codecs/Brotli/Static from the brotli sources (MIT, licenses/brotli-LICENSE.txt); fixtures via python brotli + CLI
2026-10-31 08:36:16 -05:00
4DBug
3fb01e655f
absorb: merge ws/absorb-opus
2026-10-31 08:35:16 -05:00
4DBug
30a49d1ab1
absorb: merge ws/absorb-mp3
2026-10-31 08:35:04 -05:00
4DBug
c2c8fbfd93
absorb: merge ws/absorb-apng
2026-10-31 08:34:52 -05:00
4DBug
be0e2b1e46
absorb: containers/Riff (lenient reader from wav-luau + new writer: RIFX, RF64/ds64, LIST, parts) and audio/wav (decoder from wav-luau fd9a909 on Riff + new encoder u8/s16/s24/s32/f32, EXTENSIBLE, RF64; byte-exact vs ffmpeg -bitexact)
2026-10-31 08:34:39 -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
942c15f3fd
absorb: opus (audio/opus from opus-luau dd2b4e5, libopus port: direct containers/Ogg require, Types.Decoder open + decode to Audio, Err values); tests vs opusdec --float on 24 generated streams, CELT / SILK alone, PLC, seek, downmix, fuzz; bench lines
2026-10-31 08:33:32 -05:00
4DBug
0a56389b09
ws-arch: archive/xz: .xz / .lzma read as one-entry stream archives (codecs/Lzma)
2026-10-31 08:32:50 -05:00
4DBug
ace198690f
Merge branch 'ws/arch-bzip2' into ws/arch
2026-10-31 08:30:49 -05:00
4DBug
17106c2eb1
ws-arch: codecs/Raster: antialiased signed-area scanline rasterizer (lines, quads, cubics, affine transforms, nonzero + even-odd, clip, masks, fill with colour or paint function, polygon stroker with caps/joins); tests vs a supersampled winding reference
2026-10-31 08:30:45 -05:00
4DBug
4d84222c45
data: regenerate docs/FORMATS.md (codecs/Json)
2026-10-31 08:30:11 -05:00
4DBug
8ea439a338
absorb: mp3 (audio/mp3 from mp3-luau c755bbf, minimp3 port): streaming Decoder + decode to Audio, sniff, ID3 tags in dec.tags (strings) / dec.id3; tests vs minimp3 refs + ffmpeg + lame streams, robust, tags, fuzz; bench lines (tools/bench.sh also builds the mp3 fixtures)
2026-10-31 08:30:06 -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
b7018b6bfb
ws-arch: codecs/Bzip2 (bzip2 decompressor: Huffman groups, MTF/RUNA/RUNB, inverse BWT, RLE1, block + stream CRCs, concatenated streams) + archive/bz2 (single-stream archive); tests vs Python bz2 (libbzip2) on both runtimes
2026-10-31 08:27:55 -05:00
4DBug
dfe3d3afd3
vec: subtitle/srt, subtitle/vtt, subtitle/ass (SSA too) read + write into Subtitles; tests against ffmpeg conversions, round trips, fuzz
2026-10-31 08:27:04 -05:00
4DBug
66df4a2254
audio: merge ws/m4a codecs/Mdct ( 6535a3c)
2026-10-31 08:26:15 -05:00
4DBug
aea16eeec7
audio: drop our codecs/Mdct: ws-m4a landed theirs first ( 960107b), merging it instead
2026-10-31 08:26:10 -05:00
4DBug
ba91879bc5
imgA: codecs/Lzw (GIF LSB + TIFF MSB early-change, old-style TIFF LZW) with Pillow / libtiff fixtures; api passes opts.decodeImage / encodeImage hooks to formats (embedded PNG in ICO, JPEG in TIFF)
...
Change outside the ws folders: src/Formats/init.luau gains withHooks(): F.load / F.save hand decoders / encoders
opts.decodeImage(buf) and opts.encodeImage(img, format) unless the caller passed its own, so a format can decode an
embedded image of another format without requiring it (LAYERS). Backward compatible: formats ignore unknown opts.
2026-10-31 08:25:55 -05:00
4DBug
b94692d4c0
audio: codecs/Mdct (FFT, DCT-IV, MDCT/IMDCT, windows) + test; codecs/Pcm (Audio|Decoder pull source for encoders, int<->float); tools/fixtures/_audio.py (signals, ffmpeg decode, SNR, run Luau in the fixture step)
2026-10-31 08:25:52 -05:00
4DBug
859a96ea79
ws-m4a: regenerate docs/FORMATS.md
2026-10-31 08:25:23 -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