mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
feat: JPEG XL (#2893)
Support the JPEG XL format (.jxl).
JPEG XL is reported as supported by `sharp.format`:
```
jxl: {
id: 'jxl',
input: { file: true, buffer: true, stream: true, fileSuffix: [Array] },
output: { file: true, buffer: true, stream: true }
}
```
Fixes: #2743
This commit is contained in:
parent
868f629f32
commit
80d02e8a8d
7 changed files with 174 additions and 56 deletions
|
|
@ -134,6 +134,9 @@ class FileHelper {
|
|||
case 'cin':
|
||||
return {"type": "image", "subType": "x-phantom-cin"};
|
||||
|
||||
case 'jxl':
|
||||
return {"type": "image", "subType": "jxl"};
|
||||
|
||||
default:
|
||||
return {"type": "unsupport", "subType": "unsupport"};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue