mirror of
https://git.do.srb2.org/STJr/UltimateZoneBuilder.git
synced 2024-11-23 20:32:34 +00:00
fixed some ugly side effect of automatic image conversion
This commit is contained in:
parent
9205662dbf
commit
eeaa84c176
1 changed files with 2 additions and 2 deletions
|
@ -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));
|
||||
|
|
Loading…
Reference in a new issue