We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

Syncfusion.ReportWriter PDF Stream to TIFF Format

Do you have any suggestions on how to take a PDF stream generated via the Syncfusion.ReportWriter demonstrated below to a stream of the document in a TIFF format:

var inputStream = new FileStream(path + @"\Reports\Invoice.rdl", FileMode.Open, FileAccess.Read);
var writer = new Syncfusion.ReportWriter.ReportWriter(inputStream);
var stream = new MemoryStream();
writer.Save(stream, Syncfusion.ReportWriter.WriterFormat.PDF);

3 Replies

VS Vinoth Srinivasan Syncfusion Team December 5, 2019 09:28 AM UTC

Hi Scott, 

Thanks for your interest in Syncfusion products. 

If your requirement is to convert the PDF document into TIFF format, then please refer the below forum for reference to achieve your requirement. 

Vinoth S. 

SC scott December 5, 2019 08:34 PM UTC

I am getting the error below when attempting to use the referenced sample code.  I have attached a sample .NET Core project using Syncfusion.EJ.ReportViewer.AspNet.Core that demonstrates how I am attempting to convert a PDF stream loaded from an RDL template into a TIFF.

Error CS1061 'PdfLoadedDocument' does not contain a definition for 'ExportAsImage' and no accessible extension method 'ExportAsImage' accepting a first argument of type 'PdfLoadedDocument' could be found (are you missing a using directive or an assembly reference?)

Any suggestions on how to make this work in .NET Core 3.0?

Attachment: PDFtoTIFF_46497b07.zip

AA Akshaya Arivoli Syncfusion Team December 6, 2019 01:44 PM UTC

Hi Scott , 
We do not have support to export the PDF document pages into images using PdfLoadedDocument in ASP.NET Core. However, we can export the PDF document pages into images using EJ2 PDF Viewer server library in ASP.Net Core. Please find the below UG link for reference, 

Note: Please find the list of packages with their respective environments from the below, 
  • Windows - Syncfusion.EJ2.PdfViewer.AspNet.Core.Windows
  • Linux - Syncfusion.EJ2.PdfViewer.AspNet.Core.Linux 
  • IOS-  Syncfusion.EJ2.PdfViewer.AspNet.Core.OSX 

Please try this and revert us if you have any concerns on this. 


Live Chat Icon For mobile
Up arrow icon