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:
parent
921304d009
commit
8fda60094d
@ -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);
|
||||
};
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user