Extracts images from PDFs in a hopefully better way than pdfimages
.
- Doesn't have a 1000 image limit
- Extracts both the mask and image as one so no more combining layers.
- Currently exports everything as a PNG, in order to maintain image alpha
- No guarantees this runs on anyone else computer
- No guarantees this doesn't leak memory like a beast
$ pdfextract -f my_tokens.pdf -d /tmp/tokens/
$ ls /tmp/tokens | head -n 3
page_000_id_000.png
page_000_id_001.png
page_000_id_002.png
brew install poppler cairo golang
go install