-2

I'm working with Visual Studio and OpenCV for image processing, but all my documents are PDF so I need to convert them to image format so I can compatibilize them with OpenCV

This is my code to open a image:

enter image description here

Is there any way to modify it to open and read PDF's as an image?

Many thanks!

1 Answers1

0

You may want to take a look at ImageMagick. The CLI tool is able to convert PDF to images and I believe they provide C libraries too.

woshilapin
  • 239
  • 4
  • 19