mirror of
https://github.com/immich-app/immich
synced 2025-11-14 17:36:12 +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
|
|
@ -2,7 +2,7 @@ FROM node:18.16.0-alpine3.18@sha256:f41850f74ff16a33daff988e2ea06ef8f5daeb6fb849
|
|||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
RUN apk add --update-cache build-base imagemagick-dev python3 ffmpeg libraw-dev perl vips-dev vips-heif vips-magick
|
||||
RUN apk add --update-cache build-base imagemagick-dev python3 ffmpeg libraw-dev perl vips-dev vips-heif vips-jxl vips-magick
|
||||
|
||||
COPY package.json package-lock.json ./
|
||||
|
||||
|
|
@ -23,7 +23,7 @@ ENV NODE_ENV=production
|
|||
|
||||
WORKDIR /usr/src/app
|
||||
|
||||
RUN apk add --no-cache ffmpeg imagemagick-dev libraw-dev perl vips-dev vips-heif vips-magick
|
||||
RUN apk add --no-cache ffmpeg imagemagick-dev libraw-dev perl vips-dev vips-heif vips-jxl vips-magick
|
||||
|
||||
COPY --from=prod /usr/src/app/node_modules ./node_modules
|
||||
COPY --from=prod /usr/src/app/dist ./dist
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue