1
0
mirror of https://github.com/xuthus83/pigallery2.git synced 2024-11-03 21:04:03 +08:00

fixing rotation with webp #558

This commit is contained in:
Patrik J. Braun 2022-11-25 23:06:07 +01:00
parent 921304d009
commit 8fda60094d

View File

@ -162,7 +162,7 @@ export class ImageRendererFactory {
fit: 'cover',
});
}
await image.webp({effort: 6, quality: input.quality}).toFile(input.outPath);
await image.rotate().webp({effort: 6, quality: input.quality}).toFile(input.outPath);
};
}
}