Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NET PDF
I am working on a web page which can convert pdf to tiff. I found some libraries can do that but they all are not free.
 
I know some free library such as PDFSharp and ITextSharp are used for pdf working usually. Can someone give me some sample code to achieve my goal?
Thank you very much for any help!
Posted 22-Nov-12 1:47am
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 1

Here is a CP article that might help you
How To Convert PDF to Image Using Ghostscript API[^]
  Permalink  
Rate this: bad
good
Please Sign up or sign in to vote.

Solution 3

See below articles:
Two Solutions to Convert PDF to Image Jpg,tiff, Png etc[^]
Export PDF Document to Images without PDF Converter via PDF Viewer[^]
 
here you can see the main code:
            //Export current page to one image
            Button button = new Button();
            button.Text = "Export to one image";
            button.Size = new Size(180, 24);
            button.TextAlign = ContentAlignment.MiddleCenter;
            table.Controls.Add(button, 0, 1);
            button.Dock = DockStyle.Right;
            button.Click += ExportToOneImage;
            //Export current pdf document to multiple images
            button = new Button();
            button.Text = "Export to multiple images";
            button.Size = new Size(180, 24);
            button.TextAlign = ContentAlignment.MiddleCenter;
            table.Controls.Add(button, 2, 1);
            button.Dock = DockStyle.Left;
            button.Click += ExportToMultipleImages;
            mainForm.Controls.Add(table);
            table.Dock = DockStyle.Fill;
            Application.Run(mainForm);
  Permalink  

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



Advertise | Privacy | Mobile
Web03 | 2.8.141220.1 | Last Updated 23 Nov 2012
Copyright © CodeProject, 1999-2014
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100