diff --git a/server/src/repositories/media.repository.ts b/server/src/repositories/media.repository.ts index 73920820cf..fe2c3c46f3 100644 --- a/server/src/repositories/media.repository.ts +++ b/server/src/repositories/media.repository.ts @@ -45,7 +45,7 @@ export class MediaRepository implements IMediaRepository { } async generateThumbnail(input: string | Buffer, output: string, options: ThumbnailOptions): Promise { - const pipeline = sharp(input, { failOn: 'none' }) + const pipeline = sharp(input, { failOn: 'none', limitInputPixels: false }) .pipelineColorspace(options.colorspace === Colorspace.SRGB ? 'srgb' : 'rgb16') .rotate();