Add JXL container format support (#1951)

This commit is contained in:
ItsGlassPlus1
2026-05-02 14:21:01 -07:00
committed by GitHub
parent 41f22df16f
commit 0f149c9b33

View File

@@ -71,6 +71,9 @@ object ImageUtil {
if (bytes.compareWith(charByteArrayOf(0xFF, 0x0A))) {
return JXL
}
if (bytes.compareWith(charByteArrayOf(0x00, 0x00, 0x00, 0x0C, 0x4A, 0x58, 0x4C, 0x20, 0x0D, 0x0A, 0x87, 0x0A))) {
return JXL
}
} catch (_: Exception) {
}
return null