Reputation: 12384
I need to be able to take EPS and PDF's and convert them to JPEG/PNG on the fly to display on a website - using .net code.
I used ADC PDF from WebSupergoo for this like 3 years ago, and it worked fine - but some other and better options could easily have surfaced since then.
Upvotes: 5
Views: 2815
Reputation: 121
If you want simple conversion you can use ghostview... for example:
gswin32c -sDEVICE=png16m -r300x300 -sOutputFile=junk.png -dBATCH -dNOPAUSE Figure_001-a.pdf
Converts the PDF at a 300x300 DPI to a png.
Upvotes: 1
Reputation: 4566
Foxit Reader is a really good PDF reader. They have an SDK you can use. For more imaging operations try something like this toolkit www.atalasoft.com. they also have a great web viewer. see their domo at http://www.atalasoft.com/ajaxannotations/default.aspx
Upvotes: 0
Reputation: 1531
You should be able to do this with ImageMagick; you could call the command line tool from your code to do conversion. They also have a .Net wrapper called MagickNet http://www.codeproject.com/KB/dotnet/ImageMagick_in_VBNET.aspx
Upvotes: 2