How to convert PDF to images using C# and ImageMagick?

前端 未结 2 1275
梦毁少年i
梦毁少年i 2021-02-10 08:30

I would like to convert a PDF file to .GIF using C# and magicknet.dll. I have added the reference to the MagickNet Dll to my project.

MagickNet.Magick.Init();
Ma         


        
2条回答
  •  慢半拍i
    慢半拍i (楼主)
    2021-02-10 09:11

    ImageMagick requires GhostScript to Interpret PDF files. If you want you can call the GhostScript dll directly (contact me via my profile, I will send you a c# wrapper)

    Alternatively you can use the GhostScript command line or a commercial 3rd party component, eg the PDF libraries from Tall Components.

提交回复
热议问题