Convert PDF pages to PNG on Windows with bim

install bim-cli · windows · per-user · no admin
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command 'iwr -useb https://bimcli.com/install.ps1 -OutFile $env:TEMP\bim-install.ps1; powershell -NoProfile -ExecutionPolicy Bypass -File $env:TEMP\bim-install.ps1'

{% set ctaPosition = "top" %} {% include "install-cta.njk" %}

Render PDF drawing sheets to PNG files from the command line. The bundled pdfium renderer runs locally, so the PDF stays on your machine and Ghostscript is not required.

Render every page

Run bim pdf render with an output directory and a DPI. This one-page fixture was rendered at 72 DPI:

bim pdf render tests/fixtures/drawing-revision-a.pdf --out-dir src/img/pdf-to-png-output --dpi 72

The command returns the output file paths and their matching page numbers:

{"files":["src\\img\\pdf-to-png-output\\page-1.png"],"pages":[1],"dpi":72,"format":"png"}

The renderer names each image page-<n>.png, with page numbers starting at 1. For a single sheet, add --page N to render only that page. Increase --dpi for a larger image.

PNG rendered from the drawing revision PDF fixture

For a visual comparison between two PDF revisions, see compare drawing revisions. The PDF tools page lists more local PDF workflows, including compressing a PDF.

{% include "related.njk" %}

{% set ctaPosition = "end" %} {% include "install-cta.njk" %}

install bim-cli · windows · per-user · no admin
powershell.exe -NoProfile -ExecutionPolicy Bypass -Command 'iwr -useb https://bimcli.com/install.ps1 -OutFile $env:TEMP\bim-install.ps1; powershell -NoProfile -ExecutionPolicy Bypass -File $env:TEMP\bim-install.ps1'

Then ask your assistant to run bim describe --json. See what the installer does.