It hit me this morning that the thumbnail size might be wrong when AutoRotate.
For Thumbnail, Preview and original image it should be:
double scale;
if (rotate % 180 != 0)
{
scale = Math.Min(size.Height / (double)sourceWpf.PixelWidth, size.Width / (double)sourceWpf.PixelHeight);
}
else
{
scale = Math.Min(size.Width / (double)sourceWpf.PixelWidth, size.Height / (double)sourceWpf.PixelHeight);
}
Original issue reported on code.google.com by modernv...@arcor.de on 28 Sep 2010 at 6:27
Original issue reported on code.google.com by
modernv...@arcor.de
on 28 Sep 2010 at 6:27