fix: jp2 image size bytes header

This commit is contained in:
relikd
2026-02-28 22:28:06 +01:00
parent d5d77fa592
commit 8b0252f987
4 changed files with 29 additions and 8 deletions

View File

@@ -444,6 +444,7 @@ class TestRawData(unittest.TestCase):
self.assertEqual(fn('rgb.icns.argb'), (16, 16))
self.assertEqual(fn('256x256.jp2'), (256, 256))
self.assertEqual(fn('18x18.j2k'), (18, 18))
self.assertEqual(fn('32x32.jpf'), (32, 32))
def test_ext(self):
for data, ext in (