janten / dpt-rp1-py

Python script to manage a Sony DPT-RP1 without the Digital Paper App

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Feature Request: Add an option to the "upload" cmd, which crops pdfs to remove extra margins

itskalvik opened this issue · comments

Can we get a feature to crop and upload pdf files. When I read any research papers on the tablet, I first crop the pdf file to remove extra margins and then upload it. This makes full use of the available screen space. I use this tool to crop my pdfs. It detects the bounding box without margin on every page, calculates the mode of the bounding box across all the pages of a file and then crops the file. It's probably not the best way to do it, but can we get something similar in this tool?

This is a job for a different tool.