This project has moved. For the latest updates, please go here.

Jpg to Black and white TIFF with FloydSteinberg dithering

Dec 6, 2015 at 10:50 AM
I have problems converting some jpg to black and white TIFF using FloydSteinberg dithering.
Some (for example santa.jpg ) becomes completely white.
My code is based on the example in this thread.
using (MagickImage image = new MagickImage(@"C:\santa.jpg"))
    QuantizeSettings settings = new QuantizeSettings();
    settings.DitherMethod = DitherMethod.FloydSteinberg;
    settings.ColorSpace = ColorSpace.Gray;
    settings.Colors = 2;
    image.Depth = 1;
Should this work or have I missed something?
(Using Magick.NET installed with NuGet)
Dec 7, 2015 at 2:49 PM
We can reproduce this issue and patched ImageMagick. This will be fixed in the next release of Magick.NET (
Dec 7, 2015 at 5:27 PM
Thanks for the quick response, looking forward to the next release.