Closed GoogleCodeExporter closed 8 years ago
Thank you for the error report, I will look into this problem.
Original comment by fr3dr...@gmail.com
on 17 May 2011 at 7:15
I've digged deeper in this problem and I noticed this problem occurs when using
InterpolationMode.HighQualityBicubic / High on the graphics object. I found
this answer on stackoverflow which resolves the issue for me, while maintaining
the HighQualityBicubic property (which is what you want):
http://stackoverflow.com/questions/1890605/ghost-borders-ringing-when-resizing-i
n-gdi/1891479#1891479
using (ImageAttributes wrapMode = new ImageAttributes())
{
wrapMode.SetWrapMode(WrapMode.TileFlipXY);
g.DrawImage(input, rect, 0, 0, input.Width, input.Height, GraphicsUnit.Pixel, wrapMode);
}
Original comment by richardv...@gmail.com
on 19 May 2011 at 1:12
Thank you very much for the solution. It has now been implemented :)
Original comment by fr3dr...@gmail.com
on 13 Jun 2011 at 8:40
Original issue reported on code.google.com by
richardv...@gmail.com
on 14 May 2011 at 6:31