Use this Python tool to convert PDF documents to images. You can specify the PDF file, page order, and page dimensions. I have had a need for several years to generate images for marketing materials from PDF documents: I have always liked the functionality of did on the Linux platform: I have not found a good PDF Generator on the Windows platform. Since so many PDF creation platforms, such as PdfToImage on Windows and xpdf-create-pdf on Linux, are buggy, I thought I'd check out did. I did a lot of searching on the internet, but I came up empty-handed. My idea was to automate conversion to an optimized PDF file with a command line tool. The did program The did program, from an anonymous user, was pretty good. It came in at about 5 megabytes in size. It was the second largest download of a command line tool for that application. When the program opens, it first tries to find the location of the document using a default set of file properties. This is where the problems start. The default properties for a PDF file are too restrictive. To try to create a PDF from an unformatted PDF, the user must create a blank page. The user can specify a page number and page layout before beginning. The default layout for the PDF file is page-aligned. The default page layout for the PDF file is one-column. There are three other pages available: Page 0: The title. Page O: The subheading. Page N: The table of contents. The output PDF must be a JPEG or PDF image. The did program will create an optimized PDF file, and it will output the first five pages. This is where the problems began. The PDF output created by did is not the optimized file we were hoping for, at least. I created a quick test file with blank page, page number 1, one-column layout, page numbering 6, and then one page, page 1, one-column layout followed by two pages, no page numbering and another blank page, page 1, one-column layout. Page count 8 is an example of an optimized PDF document. The result file, my_test.pdf, was 437 KB in size. The optimized PDF was only 262 KB.