I have found a PDF where the conversion quality to XOD is not good.
I have seen inside the XOD and it seems that it references only an image from its page.
And this image (which is low in quality) is what is getting displayed.
I have used a high quality and maximum pixels for the JPG:
var options = new pdftron.PDF.Convert.XODOutputOptions();
options.SetJPGQuality(95);//1 to 100
options.SetMaximumImagePixels(50000000);
pdftron.PDF.Convert.ToXod(srcPath, tempFilePath, options);
…but this didn’t solve the problem.
SetMaximumImagePixels() does make the quality better but not enough good to read the text. And using a higher value than that (50000000) causes memory allocation problems.
This happens in your online demo viewers too.
I attach the PDF file that causes the problem.
The problem is that your is very complex and XOD conversion process decides to flatten it so that page can be quickly rendered in the WebViewer. If you want to maintain high-quality you could a) disable flattening or b) increase the resolution of rendered image.