1
0
mirror of https://github.com/Intervention/image.git synced 2025-08-29 16:50:07 +02:00

Add 'image/x-jp2-codestream' as Jpeg2000 mime type

This commit is contained in:
Oliver Vogel
2024-12-30 09:45:35 +01:00
parent 8e12c2e152
commit c66fa7dac8
3 changed files with 4 additions and 2 deletions

View File

@@ -127,7 +127,7 @@ final class FormatTest extends BaseTestCase
$format = Format::JP2;
$mediaTypes = $format->mediaTypes();
$this->assertIsArray($mediaTypes);
$this->assertCount(3, $mediaTypes);
$this->assertCount(4, $mediaTypes);
$this->assertEquals(MediaType::IMAGE_JP2, $format->mediaType());
}