rdkit.sping.PDF.pdfutils module

rdkit.sping.PDF.pdfutils.cacheImageFile(filename)

Processes the image as if for encoding, saves to a file ending in AHX

rdkit.sping.PDF.pdfutils.cachedImageExists(filename)

Determines if a cached image exists which has the same name and equal or newer date to the given file.

rdkit.sping.PDF.pdfutils.preProcessImages(spec)

accepts either a filespec (‘C:mydir*.jpg’) or a list of image filenames, crunches them all to save time. Run this to save huge amounts of time when repeatedly building image documents.