diff --git a/GreenshotPlugin/Core/QuantizerHelper.cs b/GreenshotPlugin/Core/QuantizerHelper.cs index 8d0666708..84a79aede 100644 --- a/GreenshotPlugin/Core/QuantizerHelper.cs +++ b/GreenshotPlugin/Core/QuantizerHelper.cs @@ -141,6 +141,7 @@ namespace GreenshotPlugin.Core { // Use a bitmap to store the initial match, which is just as good as an array and saves us 2x the storage resultBitmap = new Bitmap(sourceBitmap.Width, sourceBitmap.Height, PixelFormat.Format8bppIndexed); + resultBitmap.SetResolution(sourceBitmap.HorizontalResolution, sourceBitmap.VerticalResolution); using (BitmapBuffer bbbSrc = new BitmapBuffer(sourceBitmap, false)) { bbbSrc.Lock(); using (BitmapBuffer bbbDest = new BitmapBuffer(resultBitmap, false)) {