Available in pre-release 3.7
Convert PDF to Images renders each chosen page of the open PDF to an image file (issue #5991).
Command id:
CmdConvertPdfToImages (see Commands).When it is available #
The command appears only when the open document is a PDF. It is hidden for comics, images, EPUB, DjVu, CHM, and other non-PDF files. For the reverse direction see Convert images to PDF and Convert comics to PDF.
In the application #
- Open a PDF.
- Start Convert PDF to Images… in any of these ways:
- Right-click the document → Document → Convert PDF to Images…
Ctrl + K,Convert PDF to Images...command in Command Palette
- A dialog shows the source path and a destination template:
- Default is the same folder and base name as the PDF, with
-<N>.png(forbook.pdf,book-<N>.png). If that would overwrite files, the default isbook-<N>.1.png(or.2, …). <N>is replaced by the 1-based page number (book-1.png,book-2.png, …).- A format drop-down (PNG, JPEG, BMP, GIF) next to the path works like Save Image: picking a format updates the file extension.
- Edit the path, or use Browse…. If the chosen name has no
<N>,-<N>is inserted before the extension.
- Default is the same folder and base name as the PDF, with
- Choose which pages to convert:
- Current: the page you are viewing
- All: every page (the default)
- Custom: a range in the edit box, same syntax as Extract Pages:
1,3-5,8-(Nis the last page) - The right end of the line counts the pages the choice comes to (
3 of 12 pages) - Resolution (DPI): 150 by default
- If the files already exist, the footer says how many (
3 files already exist), the button reads Overwrite, and Use New Names changes the template to free names (book-<N>.1.png). Overwrite replaces them. - Click Convert. On success, Explorer opens on the first written file. On failure you get a short error dialog.

Press Esc or Cancel to close the dialog without converting.
Pages are rendered at the Resolution (DPI) you pick: 72, 96, 150 (default), 300, 600 or 1200, or type any other value. The DPI is independent of your current zoom level. A page that would exceed 16384 pixels per side is refused with “Too large for this DPI”. PNG files are losslessly recompressed in the background (the same Zopfli pass as Save Image).
From the command line #
sumatrapdf-tool convert can also write images. Use %d in the output name for the page number:sumatrapdf-tool convert -o book-%d.png book.pdf
sumatrapdf-tool convert -o book-%d.png book.pdf 1-3,8
See also #
- Convert images to PDF, Convert comics to PDF: the reverse direction
- Extract text from PDF
- Extract pages from PDF
- Save Selection As Image (
CmdSaveSelectionAsImage): a rectangular selection, at a chosen DPI, not a whole page