Can someone please point me to a sample explaining how to output a specific TIFF format using Aspose.Pdf.Kit.NET PdfConverter?
Hi Jed,
Please find a sample below to help you convert the PDF file to TIFF image according to your requirement:
//create PdfConverter object and open PDF file
PdfConverter pdfConverter = new PdfConverter();
pdfConverter.BindPdf(“input.pdf”);
//set resolution
pdfConverter.Resolution = 300;
//start conversion process
pdfConverter.DoConvert();
//save the PDF as TIFF with specified compression type
pdfConverter.SaveAsTIFF(“output.tif”, 500, 400, CompressionType.CCITT4);
pdfConverter.Close();
I hope this helps. If you have any further questions, please do let us know.
Regards,
Thank you for this sample. I have a few questions:
Hi Jed,
We’re looking into your concerns at our end and you’ll be updated shortly.
We’re sorry for the inconvenience.
Regards,
Hi Jed,
I would like to update you regarding your queries.
First of all, CCITT4 compression is designated for bi-level encoding, therefore the images generated either contain black and white color or grayscale.
Secondly, you can either specify the resolution value using Resolution property or using the parameter values for your custom X and Y resolution.
I hope this helps. If you have any further questions, please do let us know.
Regards,
Hi Jed,
I’m afraid, this is currently not possible to force the monochrome only image production. I have logged this feature request as PDFKITNET-17621 in our issue tracking system. Our team will look into this issue and you’ll be updated via this forum thread once it is supported.
We’re sorry for the inconvenience.
Regards,
The issues you have found earlier (filed as 17621) have been fixed in this update.
This message was posted using Notification2Forum from Downloads module by aspose.notifier.