Click here to Skip to main content
Rate this: bad
good
Please Sign up or sign in to vote.
See more: ASP.NETPDF
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 0: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)

  Print Answers RSS
Your Filters
Interested
Ignored
     
0 Shai Vashdi 339
1 Sergey Alexandrovich Kryukov 285
2 OriginalGriff 280
3 Peter Leow 171
4 Abhinav S 168
0 Sergey Alexandrovich Kryukov 8,979
1 OriginalGriff 5,280
2 Peter Leow 4,010
3 Maciej Los 3,535
4 Abhinav S 3,263


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