We are using Spire.Office (v2.16.12)
When converting a DOCX to PDF we get very bad result for our image.
I have attatched the C# project, with the example file and result.
Is there anything we can do to improve the image?
- Code: Select all
static void Main(string[] args)
{
using (var stream = new FileStream("tmpA69C.tmp.docx", FileMode.Open))
{
var pdfFile = new Document();
pdfFile.LoadFromStream(stream, FileFormat.Docx);
pdfFile.JPEGQuality = 100;
pdfFile.SaveToFile("tmpA69C.tmp.pdf", FileFormat.PDF);
}
}
Greetings Viktor