diff --git a/Greenshot/Destinations/PrinterDestination.cs b/Greenshot/Destinations/PrinterDestination.cs index bf4a394c0..663273015 100644 --- a/Greenshot/Destinations/PrinterDestination.cs +++ b/Greenshot/Destinations/PrinterDestination.cs @@ -118,6 +118,11 @@ namespace Greenshot.Destinations { // Set the color reducing if needed, this should change the 24/32-> 8 (or later even 1) bpp // printOutputSettings.ReduceColors = true; + // Moved this from the PrintHelper, the invert effect should probably be the last! + if (conf.OutputPrintInverted) { + printOutputSettings.Effects.Add(new InvertEffect()); + } + Image imageToPrint; Boolean disposeImage = ImageOutput.CreateImageFromSurface(surface, printOutputSettings, out imageToPrint); try { diff --git a/Greenshot/Helpers/PrintHelper.cs b/Greenshot/Helpers/PrintHelper.cs index 89e583d4b..bf805ec30 100644 --- a/Greenshot/Helpers/PrintHelper.cs +++ b/Greenshot/Helpers/PrintHelper.cs @@ -213,13 +213,7 @@ namespace Greenshot.Helpers { e.Graphics.DrawString(footerString, f, Brushes.Black, pageRect.Width / 2 - (footerStringWidth / 2), pageRect.Height); } } - if (conf.OutputPrintInverted) { - using (Bitmap negativeBitmap = ImageHelper.CreateNegative((Bitmap)image)) { - e.Graphics.DrawImage(negativeBitmap, printRect, imageRect, GraphicsUnit.Pixel); - } - } else { - e.Graphics.DrawImage(image, printRect, imageRect, GraphicsUnit.Pixel); - } + e.Graphics.DrawImage(image, printRect, imageRect, GraphicsUnit.Pixel); } } }