-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pdf converter #19
base: master
Are you sure you want to change the base?
Pdf converter #19
Conversation
- Avoids systemctl issue - Updates for network interface changes
…le over and over)
Did some investigation and it seems like we might be able to use existing https://github.com/Evidlo/go-pdfium-test I haven't gotten it to work when cross-compiling though. |
pdfium might be a challenge due to all of the repaging and operations that are taken. Another option might be something like: |
I don't think this is all that important, as testing on the reMarkable is only slightly more inconvenient than testing on desktop. Definitely worth the trade if we can use PDFs as sources. |
Hey @Evidlo . Did some mucking about this afternoon. Noticed that a bunch of the images on newseum.org are pretty low resolution. Made a really, really dirty change to enable downloading/resizing of pdfs from the same source. I've never written anything in go before, so go easy on me..
In order to use it, the remarkable needs to have imagemagick and ghostscript installed. I got these off entware, which i noticed you also maintain for the remarkable. The cropping could really be optimized (especially at the top), or possibly using
trim
on imagemagick would do this magically for most of the pdfs on newseum, at-least..