It uses poppler's
pdfimages.exe
command line tool to extract the images (https://github.com/oschwartz10612/poppl ... s/releases)It's a single .xys script, it doesn't require anything else apart from
pdfimages.exe
This is the configuration section of the script:
Code: Select all
// Set the full path to "pdfimages.exe"
$pdfimages = "D:\Tools\@Command Line Tools\poppler_x64\pdfimages.exe";
// Image name structure: "pg. 01 - #001.jpg"
$frontName = "pg. ";
$middleName = " - #";
// Keep stencil / mask file(s)
// Default = false, can be set to: true
$keepStencils = false;
$keepSMasks = false;
Why did I write it when there is already an existing version?
I've found
pdfimages.exe
way more reliable than the mutool.exe
version.I've used e.g.: https://www.phanteks.com/assets/manuals ... 00PSTG.pdf
for testing it.
mutool.exe
extracts 73 items, only 43 of them are images.pdfimages.exe
extracts 127 images (in fact it does 190, but with $keepStencils
and $keepSMasks
set to false it removes those unwanted items)Current version: v0.1