fixed some ugly side effect of automatic image conversion

This commit is contained in:
codeimp 2009-01-24 15:14:10 +00:00
parent 9205662dbf
commit eeaa84c176

View file

@ -249,8 +249,8 @@ namespace CodeImp.DoomBuilder.Data
Graphics g = Graphics.FromImage(bitmap);
g.PageUnit = GraphicsUnit.Pixel;
g.CompositingQuality = CompositingQuality.HighQuality;
g.InterpolationMode = InterpolationMode.HighQualityBicubic;
g.SmoothingMode = SmoothingMode.HighQuality;
g.InterpolationMode = InterpolationMode.NearestNeighbor;
g.SmoothingMode = SmoothingMode.None;
g.PixelOffsetMode = PixelOffsetMode.None;
g.Clear(Color.Transparent);
g.DrawImageUnscaled(oldbitmap, new Point(0, 0));