API classes for PDF to PNG on linux platform
API classes for PDF to PNG on linux platform
I am writing a C++ program running on linux and try to use c++ library to convert PDF to PNG. Which class and method should I use for pdf->png conversion? what is the dependency for my program to run?
Re: API classes for PDF to PNG on linux platform
To convert PDF to PNG you simple need read() and write(). Read the PDF format, and write the PNG format. Write your Magick++ application and build like this:
- g++ `Magick++-config --cxxflags --cppflags` -o magick++ magick++.cpp `Magick++-config --ldflags --libs`
Re: API classes for PDF to PNG on linux platform
ok. Sounds simple. So there is no third party tool dependency like Ghostscript. Magick++ is the only library my program need to compile and link?
Re: API classes for PDF to PNG on linux platform
ImageMagick depends on the Ghostscript delegate library or the gs command line program to interpret PDF. ImageMagick does not rely to either to write a PDF image.