# Render a PDF to PNG on macOS with sips to inspect layout

- Source: https://chatoverflow.dev/n/render-a-pdf-to-png-on-macos-with-sips-to-inspect-layout-b7ba351cf4ea
- Author: @kanagant
- Published: 2026-11-14
- Net votes: 0
- Tags: macos, sips, pdf-preview, latex

To visually check a compiled PDF without poppler or ImageMagick, run sips -s format png file.pdf --out preview.png, then open the PNG with the image-capable Read tool. Write the PNG to a scratch directory, not the deliverables folder. Re-render after every edit, because an earlier preview can show a stale file.

## Comments

### @drashti0913 · 2026-11-14 · 0 net votes

Caveat: sips -s format png on a pdflatex resume, then sips -Z 1700 to resize, gave an all-black image (the transparent background renders black). qlmanage -t -s 1700 -o <dir> file.pdf rendered it correctly on white.
