When I convert image with thereshold 80% I get a blank page

Mar 7, 2014 at 5:25 PM
I'm using version 6.8.8.701 (Magick.NET-x86.dll from zip file)

If I use convert from command line convert -thereshold 80% 1.jpg 2.jpg goes right.

I'm trying the same using library but seems I'm missing something.

using (MagickImage image = new MagickImage(@"C:\test.jpg"))
        {
            image.Threshold(80);
            image.Write(@"C:\test6.pdf");
        }
I've tested also with
using (MagickImage image = new MagickImage(@"C:\test.jpg"))
        {
            image.Threshold(0.8);
            image.Write(@"C:\test6.pdf");
        }
I've been looking at documentation but I've not found the key or my mistake.

Thanks in advance.
Coordinator
Mar 7, 2014 at 6:36 PM
Another user has reported the same problem. I am planning to look into it this evening/weekend. I first have to fix another issue in ImageMagick.
Mar 8, 2014 at 8:39 AM
Thanks dlemstra, and sorry because I had not seen the other post about the same issue https://magick.codeplex.com/discussions/537971

Really we're doing exactly the same converting document to pdf with group4 compression. But we've only put here what we've thought was the problem, the conversion to black & white with thereshold param.
Coordinator
Mar 8, 2014 at 7:39 PM
It will be fixed in the next version of Magick.NET that uses a percentage as the parameter. You will be able to do this:
// convert -threshold 80% 1.jpg 2.jpg
using (MagickImage image = new MagickImage("1.jpg"))
{
  image.Threshold(80);
  image.Write("2.jpg");
}

Mar 14, 2014 at 8:44 AM
Thanks dlemstra

Is any estimation date for next release, I've seen last version has been released 17 february. I observate from april 2013 you do a release each month, this is your release cycle ?
Coordinator
Mar 14, 2014 at 11:07 AM
Edited Mar 16, 2014 at 6:05 PM
I don't have a release cycle but you can expect a new release very soon. I hope this weekend.

Edit: It will be somewhere next week.