mirror of
https://github.com/immich-app/immich
synced 2025-11-07 17:27:20 +00:00
fix(server): strip metadata from thumbnails (#4438)
included all thumbnail metadata. It seems this has to be explicitly disabled. Refs: #4382 feat. basic metadata e2e test fix: use tiff thumbnails in first step + e2e fix fix: revert switch to tiff feat: test metadata of both webp and jpg feat: use upload in e2e test fix: lint strip metadata with exiftool use `withIccProfile` fix e2e formatting run jobs in e2e
This commit is contained in:
parent
1d0dbdff67
commit
c0ebc943d2
4 changed files with 113 additions and 3 deletions
|
|
@ -62,4 +62,18 @@ export const assetApi = {
|
|||
expect(status).toBe(201);
|
||||
return body as AssetFileUploadResponseDto;
|
||||
},
|
||||
getWebpThumbnail: async (server: any, accessToken: string, assetId: string) => {
|
||||
const { body, status } = await request(server)
|
||||
.get(`/asset/thumbnail/${assetId}`)
|
||||
.set('Authorization', `Bearer ${accessToken}`);
|
||||
expect(status).toBe(200);
|
||||
return body;
|
||||
},
|
||||
getJpegThumbnail: async (server: any, accessToken: string, assetId: string) => {
|
||||
const { body, status } = await request(server)
|
||||
.get(`/asset/thumbnail/${assetId}?format=JPEG`)
|
||||
.set('Authorization', `Bearer ${accessToken}`);
|
||||
expect(status).toBe(200);
|
||||
return body;
|
||||
},
|
||||
};
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue