-1

Is There any Possibility to Convert the PDF TO TIFF On the Fly in Asp.Net and View the Same on the WebForm.

If Yes Is There Any 3rd Party DLL or Open Source DLL for Accomplishing the Same ?

Uwe Keim
  • 39,551
  • 56
  • 175
  • 291
Rahul Jain
  • 612
  • 1
  • 18
  • 49
  • 2
    possible duplicate of [Best way to convert pdf files to tiff files](http://stackoverflow.com/questions/75500/best-way-to-convert-pdf-files-to-tiff-files) – mbeckish Aug 06 '12 at 14:40
  • 2
    If the purpose of the conversion is to display the document as a set of images in the browser, why do you want to convert to TIFF? – mbeckish Aug 06 '12 at 14:42
  • Possible duplicate of [How do I programmatically create a TIF from a PDF in .NET?](http://stackoverflow.com/questions/116718/how-do-i-programmatically-create-a-tif-from-a-pdf-in-net). – hmqcnoesy Aug 06 '12 at 14:54

2 Answers2

0

There is the commercial Aspose.Pdf library that allows for PDF to TIFF conversion.

We are using the products a lot in our products, although I never used the PDF to TIFF conversion. So you better try out whether the results are good enough for your needs.

Of course, if this is no security issue and your PDFs are available public, you could very well simply use the free Google Docs Viewer to render your documents in the browser, without any plug-in.

Uwe Keim
  • 39,551
  • 56
  • 175
  • 291
  • After Conversion Can i View the Same File in Asp.Net ?? – Rahul Jain Aug 06 '12 at 14:40
  • @RickJackson Sure. E.g. you could convert the TIFF to a PNG or a JPEG and put it inside an `` tag on your website. – Uwe Keim Aug 06 '12 at 14:41
  • @RickJackson - What if the PDF is more than 1 page? What kind of image browsing user interface are you planning? – mbeckish Aug 06 '12 at 14:43
  • I am creating an Commerical Application I have read that Google Docs Viewer is free so in the Future if services stop i will be in a Problem.. – Rahul Jain Aug 07 '12 at 05:13
  • Yes... I have multiple files in my pdf. Let me explain you my actual requirement I want to show a Tranperant Popup Over the PDF. I am getting browser compatibility issues for tranperancy. Here is my Post Link http://stackoverflow.com/questions/11666568/setting-transperancy-to-iframe-inside-modal-popup/11825618#11825618 Thats the reason i thought of converting the PDf to TIFF on the fly. Will Any 1 Please Guide me How can i accomplish Transperany over PDF ? – Rahul Jain Aug 07 '12 at 05:21
  • @RickJackson - Why TIFF? Why not another image format that browsers natively support, like PNG? – mbeckish Aug 08 '12 at 13:22
  • Ok... Tiff can handle multiple pages right ? but there will be problem for PNG... thats the reason for choosing TIFF :) – Rahul Jain Aug 08 '12 at 18:34
  • @RickJackson - Yes, TIFF can encapsulate multiple pages in one file. So can PDF. Neither can be displayed natively by a browser. They both would require an external plug-in to view. So if you are going that route, why not just leave it as PDF? IF you want the browser to be able to display the images without a plug-in, then you need to pick a different image format. – mbeckish Aug 10 '12 at 13:32
0

imageresizer.net has a PDF plugin and can convert to TIFF, JPG, PNG, etc. It's also open source.

Jason Morse
  • 6,204
  • 5
  • 29
  • 29