fix: revert switch to tiff
This commit is contained in:
parent
4c56ef0526
commit
770ac0063e
1 changed files with 1 additions and 1 deletions
|
@ -29,7 +29,7 @@ export class MediaRepository implements IMediaRepository {
|
|||
const buffer = await sharp(input, { failOn: 'none' })
|
||||
.resize(options.size, options.size, { fit: 'outside', withoutEnlargement: true })
|
||||
.rotate()
|
||||
.tiff()
|
||||
.jxl({ lossless: true })
|
||||
.toBuffer();
|
||||
// A second sharp instance is required for the ICC profile, as all metadata
|
||||
// is preserved otherwise.
|
||||
|
|
Loading…
Reference in a new issue