Skip to content
Snippets Groups Projects
Commit 15872471 authored by Anton Akhmerov's avatar Anton Akhmerov
Browse files

Rewrite PDF processing to avoid temporary files

* Use PyPDF2 (new dependency) to loop over images attached to a PDF
  this allows to detect and raise an error whenever there's >1
  image/page (we cannot treat this correctly anyway)
* rewrite helper functions to deal with image objects rather than reading
  from disk
* This also means we don't need pdfimages anymore
parent 02fba525
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment