How to make PDF files as images?

I need to be able to convert a PDF file into images (one image per page), which will be displayed on a web page, for example, in Google Docs. This is for an internal intranet application where requirements require a PDF file on the Internet, but with the ability to track scrolling, and this is the only way I can do this.

The problem is that I cannot find a good way to convert PDF files on the fly.

+4
source share
4 answers

Try GhostScript . It is open source and can be run as a command line process or directly through a DLL. I have used this in a production application for the past 2 years with minimal problems.

To see how to directly export images using a dll, see this code article .

+8
source

We use ABCpdf here to convert PDF files to images.

Note: it is NOT free

+2
source

You can use ImageMagik, for free, and you can do such a conversion.

http://www.imagemagick.org

+1
source

Try PDF components from Tall Components to convert to images.

You will need to study them a bit further to track changes, etc. and conversion to text may be required.

+1
source

Source: https://habr.com/ru/post/1305119/


All Articles