This project has moved and is read-only. For the latest updates, please go here.

is it possible to create a PDF from an image ?

Feb 15, 2014 at 1:17 PM

I found today

In, I create, with GDI+, bills with texts, graphics and a background image. The results are in an image list (emf format) that I send first on the screen and after validation to a printer. No problem.

Now I wish to create a PDF from bills (one PDF for one bill).
Is it possible to do that with ? I see that it is possible to read a PDF and extract images but is it possible to create a PDF from an image ?

Thanks in advance for answers.
Feb 15, 2014 at 6:26 PM
Edited Feb 15, 2014 at 6:56 PM
You can use Magick.NET to create a PDF file from an image. You also need to install Ghostscript for this to work. It is as simple as this:
using (MagickImage image = new MagickImage("Bill.jpg"))
You can also use Magick.NET to write text / put images on top of a background image.