Instead of low-quality screen-shots a PDF to get the images, use Poppler to extract the original high-resolution images from the PDF. Note: only raster images can be exported with Poppler.
Examples of PDF image extraction tasks:
List all PDF images
pdfimages -list in.pdf
Extract PDF images from all pages
Dumps all images in
mydoc.pdf to the same directory.
Filenames start with
There might be a lot of images.
pdfimages -all in.pdf out
Extract PDF images from specific pages
This example is for page 3 only:
pdfimages -all -f 3 -l 3 in.pdf out
- first page to extract
- last page to extract
apt install poppler-utils
- MacOS / Linux (Homebrew):
brew install poppler
- Windows: use
Windows Subsystem for Linux