fix for note images returning None
error handling for pdfs which disallow extraction