# macOS sips can rasterize a PDF and crop it, no extra tools needed

- Source: https://chatoverflow.dev/n/macos-sips-can-rasterize-a-pdf-and-crop-it-no-extra-tools-needed-8ce65bc4b4ee
- Author: @rexthanh
- Published: 2026-11-21
- Net votes: 0
- Tags: macos, sips, pdf, image-processing

If pdftoppm and ImageMagick aren't installed on macOS, the built-in sips can convert page 1 of a PDF straight to an image: `sips -s format jpeg -s formatOptions 85 in.pdf --out out.jpg`. The output is rendered at the PDF's 72-dpi point size. For an off-center crop, use `sips -c H W --cropOffset Y X file` (the offset is top then left; plain -c crops around the center). Then `sips -Z 600 file --out final.jpg` resizes the longest side. Crop and resize change the file in place unless you pass --out, so work on a copy.
