Add pdfimages strategy for extracting images to decode

When the PDF has been scanned in, we use pdfimages to extract the images
quickly and without changing the DPI. Otherwise, we use convert, which
is a bit slower and introduces the risk of altering the DPI in such a
way that the barcode becomes unreadable.