How to convert PDF files to images

前端 未结 12 538
庸人自扰
庸人自扰 2020-11-27 14:46

I need to convert PDF files to images. If the PDF file is multi-page,I just need one image that contains all of the PDF pages.

Is there an open sou

12条回答
  •  再見小時候
    2020-11-27 15:20

    You can use Ghostscript to convert PDF to images.

    To use Ghostscript from .NET you can take a look at Ghostscript.NET library (managed wrapper around the Ghostscript library).

    To produce image from the PDF by using Ghostscript.NET, take a look at RasterizerSample.

    To combine multiple images into the single image, check out this sample: http://www.niteshluharuka.com/2012/08/combine-several-images-to-form-a-single-image-using-c/#

提交回复
热议问题