rename: src/Formats -> src/Rosetta, @formats -> @rosetta requires, build/luajit/rosetta + rosetta._compat, build/roblox/Rosetta, ROSETTA_* env/globals, writer vendor strings
This commit is contained in:
1 parent
2956576d7f
commit
22ddcd78fa
941 files changed
+3364
-3364
No files matched your search
@@ -3,11 +3,11 @@
|
||||
-- alpha, multi-page) against tifffile's decode, in rgba8 and native layouts; the JPEG hook; encoder round trips for
|
||||
-- every layout and compression; errors; the fuzz pass. Fixtures: tools/fixtures/tiff.py.
|
||||
local T = require("@tests/T")
|
||||
local Tiff = require("@formats/image/tiff")
|
||||
local Bytes = require("@formats/core/Bytes")
|
||||
local Crc32 = require("@formats/core/Crc32")
|
||||
local Err = require("@formats/core/Err")
|
||||
local Types = require("@formats/Types")
|
||||
local Tiff = require("@rosetta/image/tiff")
|
||||
local Bytes = require("@rosetta/core/Bytes")
|
||||
local Crc32 = require("@rosetta/core/Crc32")
|
||||
local Err = require("@rosetta/core/Err")
|
||||
local Types = require("@rosetta/Types")
|
||||
local Fx = require("@tests/gen/tiff")
|
||||
|
||||
local t = T.suite("tiff")
|
||||
@@ -90,7 +90,7 @@ do
|
||||
})
|
||||
t:check(img and calls > 0, "jpeg through the hook")
|
||||
-- the real thing through the api (image/jpeg decodes the stitched streams): within 2 levels of libjpeg-turbo
|
||||
local F = require("@formats")
|
||||
local F = require("@rosetta")
|
||||
local ref = Fx.jpegRef
|
||||
local full, ferr = F.load(Fx.jpeg, { format = "tiff" })
|
||||
t:check(full and full.width == ref.width and full.height == ref.height, "jpeg-in-tiff through F.load: " .. tostring(ferr))
|
||||
|
||||
Reference in new issue
Block a user