Convert image buffer to pdf with ImageMagick in C++
- by Chris
Hi, I've downloaded the dll's for ImageMagick and am wondering if anybody knows of some example code to accomplish a simple task:
I have generated an image in C++ and have the buffer in RGB format. I need to convert it to PDF format (without writing to a file) before sending it over a TCP socket.
Is this doable with ImageMagick (or any other library)?