Converts an image to a PDF document containing that image
The image to convert to PDF
The width of the bottom page margin, in pixels
The width of the left page margin, in pixels
The width of the right page margin, in pixels
The width of the top page margin, in pixels
The generated PDF file containing the image