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
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Syncfusion.ReportWriter PDF Stream to TIFF Format

Thread ID:





149713 Dec 4,2019 05:00 PM UTC Dec 6,2019 01:44 PM UTC ASP.NET Core 3
Tags: PdfViewer
Asked On December 4, 2019 05:00 PM UTC

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);

Vinoth Srinivasan [Syncfusion]
Replied On 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. 

Replied On 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

Akshaya Arivoli [Syncfusion]
Replied On 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. 



This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon