Skip to content
Advertisement

Tag: xpdf

How to extract images from a PDF in their original format

I’m using pdfimages -j bar.pdf /tmp/image to extract images from a PDF. My objective is to get them in their raw state as they were added. So If it was a .tif I’d like to get a .tif, if it’s a jpg I’d like to get a .jpg. I keep getting .ppm for everything I extract. Is it possible to

Advertisement