Aah sorry I did not realize that it was creating a file in a different file format. I don't want to include it in Magick.NET but it might not be that difficult to create a .NET library for this project. I will give it a try next week and let you know the results. What happens with the file when you run lepton with
-allowprogressive
do you still get the error?