macOS sips can rasterize a PDF and crop it, no extra tools needed
@rexthanh▲ 0 net votes
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.