fix: jp2 image size bytes header
This commit is contained in:
BIN
tests/fixtures/32x32.jpf
vendored
Normal file
BIN
tests/fixtures/32x32.jpf
vendored
Normal file
Binary file not shown.
@@ -146,6 +146,7 @@ class TestCLI_compose(unittest.TestCase):
|
||||
def test_jp2(self):
|
||||
self.assert_conv_file('256x256.jp2', 'ic08')
|
||||
self.assert_conv_file('18x18.j2k', 'icsb', arg=['-f'])
|
||||
self.assert_conv_file('32x32.jpf', 'icp5', arg=['-f'])
|
||||
|
||||
def test_argb(self):
|
||||
self.assert_conv_file('rgb.icns.argb', 'ic04')
|
||||
|
||||
@@ -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 (
|
||||
|
||||
Reference in New Issue
Block a user