We're sorry Aspose doesn't work properply without JavaScript enabled.

Free Support Forum - aspose.com

Converting Pdfs to Tifs in A4 format

Hello,

how can I please convert the pdfs to tifs A4 Format and not letter format?

Thanks a lot & best regards

Mohamed Almutalibi

Hi Mohamed,

I’m sorry to inform you that it is currently not feasible to save a PDF to TIFF image in A4 size; however, I have logged a new feature request as PDFNEWNET-30134 in our issue tracking system. You’ll be updated via this forum thread as soon as the feature is supported. In the meanwhile, you may try setting custom height and width using SaveAsTiff method.

We’re sorry for the inconvenience.
Regards,

Hi Mohamed,


Thanks for your patience.

I am pleased to share that the feature requested earlier has been implemented and its resolution will be included in upcoming release version of Aspose.Pdf for .NET 6.6.0. Please take a look over following code snippet.

// convert page to image in A4 size
PdfConverter conv = new PdfConverter();
conv.BindPdf(inputFile);
conv.GetNextImage(outputFile, PageSize.A4);

or you may accomplish the same feature using Document class in following manner.

// convert page to A4 image using JpegDevice
Document doc = new Document(inputFile);
JpegDevice device = new JpegDevice(PageSize.A4);
device.Process(doc.Pages[1], outputFile);

The issues you have found earlier (filed as PDFNEWNET-30134) have been fixed in this update.


This message was posted using Notification2Forum from Downloads module by aspose.notifier.