aboutsummaryrefslogtreecommitdiff
path: root/pyproject.toml
AgeCommit message (Collapse)AuthorFilesLines
2020-10-23Add pre-commit config for code formattingGertjan van den Burg1-0/+2
This is mainly to try out pre-commit
2019-10-24Remove poetry stuffGertjan van den Burg1-19/+0
2019-08-19Ensure filename is ascii using unidecodeGertjan van den Burg1-0/+1
2019-07-05Add our own method for determining the bounding boxGertjan van den Burg1-0/+1
I found some pdfs where pdfcrop/ghostscript determined the bounding box incorrectly. With this commit we introduce a simple way to determine the bounding box by finding the smallest rectangle that is completely surrounded by white pixels. This will work well for most PDFs. The centering functionality is also improved, and now correctly centers the PDF on the reMarkable both vertically and horizontally.
2019-05-30Remove loguru dependencyGertjan van den Burg1-1/+0
2019-02-03Initial commitGertjan van den Burg1-0/+18