Skip to content

Commit bd26aba

Browse files
committed
Release 3.2.1
1 parent d59104d commit bd26aba

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

src/SoftCreatR/MimeDetector/MimeDetector.php

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,13 @@ public function getFileType(): array
877877
];
878878
}
879879

880+
if ($this->checkForBytes([0x00, 0x00, 0x00, 0x0C, 0x4A, 0x58, 0x4C, 0x20, 0x0D, 0x0A, 0x87, 0x0A])) {
881+
return [
882+
'ext' => 'jxl',
883+
'mime' => 'image/jxl'
884+
];
885+
}
886+
880887
if ($this->checkForBytes([0x00, 0x00, 0x00, 0x0C, 0x6A, 0x50, 0x20, 0x20, 0x0D, 0x0A, 0x87, 0x0A])) {
881888
// JPEG-2000 family
882889
if ($this->checkForBytes([0x6A, 0x70, 0x32, 0x20], 20)) {
Submodule fixtures updated 1 file

0 commit comments

Comments
 (0)