Skip to main content

Converts PDF files to nighttime mode

Project description

PDF Dark Mode

About

NOTE: This project is going under significant changes! Stay tuned for updates!

This is a python program that converts the white-space in PDF files to have a grey background and works best with non-handwritten PDF's and PDF's without any images.

Installation

Windows

  • Download poppler for Windows from here.

  • Extract the folder somewhere on your PC.

  • Add the path C:<path-to-extracted-folder>\poppler-20.12.1\Library\bin in the Windows Environment PATH.

macOS

  • Mac users will have to install poppler for Mac. You can do so with this homebrew formula.

Linux

  • Most distributions of linux already have pdftoppm installed. If not you can check your package manager on how to install poppler-utils.

Then

  • git clone https://github.com/JustinMartinezCSUSB/PDF-Dark-Mode.git

  • cd PDF-Dark-Mode

  • pip install -r requirements.txt

  • Finally: python pdf.py

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

PdfDarkMode-1.0.0.tar.gz (5.5 kB view details)

Uploaded Source

Built Distribution

PdfDarkMode-1.0.0-py3-none-any.whl (5.9 kB view details)

Uploaded Python 3

File details

Details for the file PdfDarkMode-1.0.0.tar.gz.

File metadata

  • Download URL: PdfDarkMode-1.0.0.tar.gz
  • Upload date:
  • Size: 5.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.8.1 keyring/23.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for PdfDarkMode-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a57fe23fe15942f2e15ad54701b84e8c88e3180ad907a252332891daadd83341
MD5 659fc601b91fd2001ee988b8b32506c9
BLAKE2b-256 e462fb7e7baded301b23162a6c27f09c1dc5a7c08575a3f1ffcc8e2790746b52

See more details on using hashes here.

Provenance

File details

Details for the file PdfDarkMode-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: PdfDarkMode-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 5.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.8 tqdm/4.63.0 importlib-metadata/4.8.1 keyring/23.4.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.10.2

File hashes

Hashes for PdfDarkMode-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 886466e075cc8c4ef80f522fa9fc1f9741b6af59853f9a750b5b2bca6a85bf58
MD5 be81dcebabdc4b460fae5febda9223f6
BLAKE2b-256 9d20c96234b2c0b3668f426b92a9958e09e102aaca7ac67255d52b60f5a61079

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page