4DBug
f0f1eb6c47
imgA: merge ws/imgA-simple (tga, qoi, pnm, ico, hdr)
2026-10-31 08:58:09 -05:00
4DBug
4766753ad8
imgA-simple: bench block for qoi / tga / ppm / hdr (append-only at the end of tools/bench.luau)
2026-10-31 08:56:44 -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
4ac5d6c3bd
imgA: JPEG-in-TIFF pixel check through F.load (image/jpeg via the decodeImage hook) against tifffile
2026-10-31 08:53:29 -05:00
4DBug
f5fa1cb8b0
imgA: merge ws/imgA-tiff (image/tiff)
2026-10-31 08:52:52 -05:00
4DBug
a4d6e79fa4
imgA-tiff: bench block (decode / encode none, lzw, deflate; rgba16)
2026-10-31 08:51:47 -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
ba1c72604a
imgA: merge ws/imgA-ops (ops/ImageOps)
2026-10-31 08:48:25 -05:00
4DBug
4a84acca9c
imgA-ops: ops/ImageOps (convert between every pixel format incl. yuv420p, crop, resize nearest/bilinear/Lanczos-3 as Pillow, flip, rotate90, rotate bilinear+expand as Pillow, blit/composite with Pillow's alpha_composite, premultiply, get/setPixel, fill, coalesce/fromFrames/frameCount/durations) with Pillow fixtures, tests on both runtimes, bench block
2026-10-31 08:47:30 -05:00
4DBug
5416e23761
imgA: bench.luau merge fix (close the jpeg block)
2026-10-31 08:45:41 -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
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
a507a52bda
imgA-gif: faster median cut (cached box scores, keyed sort) and nearest-colour search (green-sorted, pruned); gif + quantize bench block
2026-10-31 08:37:09 -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
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
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