ws-cleanup-types: TrueType names, mp3 index, aac options, imageops test: annotations

This commit is contained in:
4DBug committed 2026-10-31 10:54:51 -05:00
1 parent 6a8a8abce2
commit 39dbde13b7
4 files changed
+6 -6

No files matched your search

+1 -1
View File
@@ -43,7 +43,7 @@ do
local ga = Ops.convert(rgba, "gray8") :: any
t:check(buffer.tostring(ga.pixels) == Fx.graya, "rgba8 -> gray8 matches Pillow (alpha ignored)")
local gray = Ops.convert(rgb, "gray8") :: any
local worst = { nearest = 0, bilinear = 0, lanczos = 0 }
local worst: { [string]: number } = { nearest = 0, bilinear = 0, lanczos = 0 }
for _, c in Fx.resize do
local src = if c.mode == "RGB" then rgb else gray
local r = Ops.resize(src, c.w, c.h, c.filter) :: any