how best to convert a pdf to a high-res jpg?

Jeremy C. Reed reed at reedmedia.net
Wed Jan 23 15:17:50 MST 2008


On Wed, 23 Jan 2008, Josef Lowder wrote:

> I tried that ($ pdfimages -j most.pdf most.jpg) and that worked great 
> to produce an excellent, high resolution result (27.5-meg) with this 
> name: most.jpg-000.ppm ... but with only part of the original pdf 
> content showing. Some layers vanished. 
> 
> I used: convert most.jpg-000.ppm most2.jpg and got a result 1/10th 
> the ppm file size: 2,736,590 -- great resolution, but missing parts.


I thought you just wanted the image.

Instead of "pdfimages" use "pdftoppm" instead (also from xpdf or 
poppler-utils).


> Not sure what you mean by that.  I don't think I need to "enlarge" 
> anything.  I just need a jpg with high enough resolution to make 
> a good photo print. 

Why not print direct from the PDF then? Converting a PDF to JPEG doesn't 
seem correct for printing since you then (usually) need to convert the 
JPEG back to a printable format.

  Jeremy C. Reed


More information about the PLUG-discuss mailing list