Setting 1 bit per pixel?

Jun 24, 2013 at 9:09 AM
How do you set/convert an image to be 1 bit per pixel?
using (var image = new MagickImage(Color.White,100, 50))
            {
                image.FillColor = Color.Black;
                ;
                var typeMetric = image.FontTypeMetrics(text);
                while (typeMetric.TextWidth < image.Width)
                {
                    image.FontPointsize++;
                    typeMetric = image.FontTypeMetrics(text);
                }
                
                image.FontPointsize-=2;
                image.Annotate(text, Gravity.Center);
                
                //image.Quality
                var fileName = text + ".bmp";
                image.Write(fileName);
                return fileName;
            }
Thanks
Jun 24, 2013 at 9:22 AM
Found the solution

image.Depth(1, Channels.All);