Converting Pdfs to Tifs in A4 format

Last post 01-16-2012, 4:46 AM by aspose.notifier. 3 replies.
Sort Posts: Previous Next
  •  08-24-2011, 2:25 PM 324371

    Converting Pdfs to Tifs in A4 format .NET

    Hello,

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

     

    Thanks a lot & best regards

     

    Mohamed Almutalibi

     
  •  08-25-2011, 6:29 AM 324478 in reply to 324371

    Re: Converting Pdfs to Tifs in A4 format

    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,

    Shahzad Latif - [Follow me on Twitter!]
    Support Developer/Developer Evangelist
    Aspose Sialkot Team
    Aspose - Your File Format Experts

    Keep in touch! We're on Twitter and Facebook
     
  •  01-15-2012, 7:51 AM 355132 in reply to 324371

    Re: Converting Pdfs to Tifs in A4 format

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

    Nayyer Shahbaz
    Support Developer, Aspose Sialkot Team
    About Us
    Contact Us

    Keep in touch! We're on Twitter and Facebook
     
  •  01-16-2012, 4:46 AM 355363 in reply to 324371

    Re: Converting Pdfs to Tifs in A4 format

    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.
     
View as RSS news feed in XML