Hello,
var pdfDocument = new Document(ms);// Create Resolution object
Resolution resolution = new Resolution(300);// Create TiffSettings object
TiffSettings tiffSettings = new TiffSettings
{
Compression = CompressionType.None,
Depth = ColorDepth.Default,
SkipBlankPages = false
};// Create TIFF device
TiffDevice tiffDevice = new TiffDevice(resolution, tiffSettings);// Convert a particular page and save the image to stream
var tiffStream = new MemoryStream();
tiffDevice.Process(pdfDocument, tiffStream);Image img = Image.FromStream(tiffStream);
try{pdfDocument.Save(“test.xps”, SaveFormat.Xps);}catch{}
try{pdfDocument.Save(“test.svg”, SaveFormat.Svg);}catch{}
try{pdfDocument.Save(“test.doc”, SaveFormat.Doc);}catch{}
try{pdfDocument.Save(“test.docx”, SaveFormat.DocX);}catch{}
try{pdfDocument.Save(“test.epub”, SaveFormat.Epub);}catch{}
try{pdfDocument.Save(“test.xls”, SaveFormat.Excel);}catch{}
try{pdfDocument.Save(“test.html”, SaveFormat.Html);}catch{}
try{pdfDocument.Save(“test.xml”, SaveFormat.MobiXml);}catch{}
try{pdfDocument.Save(“test.tex”, SaveFormat.TeX);}catch{}
try { pdfDocument.Save(“test2.xml”, SaveFormat.Xml); }catch { }
These all produce the same results with the images missing.
I am using version 9.8 but I’ve downloaded and tested the same scenario on the latest version and the issue is the same.