mirror of
https://github.com/RPCS3/discord-bot.git
synced 2024-11-27 12:10:22 +00:00
Merge pull request #601 from 13xforever/vnext
Deal with the pesky rotation metadata
This commit is contained in:
commit
62e27a8c4f
@ -117,6 +117,7 @@ namespace CompatBot.Commands
|
||||
img.Mutate(i => i.Resize(new ResizeOptions {Size = new Size(3840, 2160), Mode = ResizeMode.Min,}));
|
||||
resized = true;
|
||||
}
|
||||
img.Mutate(i => i.AutoOrient());
|
||||
if (resized || imgFormat.Name != JpegFormat.Instance.Name)
|
||||
{
|
||||
imageStream.SetLength(0);
|
||||
|
Loading…
Reference in New Issue
Block a user