mirror of
https://github.com/storytold/craft-libs.git
synced 2026-11-25 20:14:31 +01:00
jxl-oxide decompresses brob (Brotli Exif/XMP) boxes into a buffer its AllocTracker does not count, so a 54-byte box expanded to 64 MiB of XMP and a larger one can ask for gigabytes before any pixel limit applies. decode now inflates every brob box under one 8 MiB budget per file, rewrites it as the plain box it wraps and drops boxes past the budget, nested or broken ones. Files without a brob box are not copied.