Quantcast
Channel: Aspose.Pdf Product Family
Viewing all articles
Browse latest Browse all 3131

PDF to tiff to an esigned PDF

$
0
0
Hi,

I am trying to use aspose.pdf to convert an esigned PDF to tiff. The problem is the signature comes up as a mirrored image and is almost on the top of the tiff instead of its original place in the PDF.

I am using the following code for the conversion(as available on the website)



        Dim pdfDocument As New Document("..\Pdftotiff\JiniRay.pdf")
        'Create Resolution object
        Dim resolution As New Resolution(600)

        'Create TiffSettings object
        Dim tiffSettings As New TiffSettings()
        tiffSettings.Compression = CompressionType.None
        tiffSettings.Depth = ColorDepth.Default
        tiffSettings.Shape = ShapeType.Portait

        tiffSettings.SkipBlankPages = False
     
        'Create TIFF device
        Dim tiffDevice As New TiffDevice(resolution, tiffSettings)

        'Convert a particular page and save the image to stream
        tiffDevice.Process(pdfDocument, "..\OutPut\output.tiff")

Please advice.

Thanks,
Biplab. 

This message was posted using Support2Forum.

Viewing all articles
Browse latest Browse all 3131

Trending Articles