Skip to content
Snippets Groups Projects
Forked from zesje / zesje
Source project has a limited visibility.
  • Anton Akhmerov's avatar
    15872471
    Rewrite PDF processing to avoid temporary files · 15872471
    Anton Akhmerov authored
    * 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
    15872471
    History
    Rewrite PDF processing to avoid temporary files
    Anton Akhmerov authored
    * 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
This project manages its dependencies using pip. Learn more