5

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.

Kjensen
  • 12,447
  • 36
  • 109
  • 171

3 Answers3

2

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

Emmanuel
  • 1,531
  • 11
  • 12
1

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.

user319080
  • 121
  • 1
  • 4
0

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

TheSean
  • 4,516
  • 7
  • 40
  • 50