PDF Eye-Saver is a web-based tool designed to reduce eye strain for students and professionals. It allows users to modify the background color of any PDF document (e.g., turning bright white to soft yellow or dark mode) directly in the browser.
🔗 Live Demo: Click here to use the App
- Custom Background Colors: Choose any color (Soft Yellow, Mint Green, Dark Mode, etc.) using a color picker.
- Two Processing Modes:
- Standard Mode: Places the color behind the text. Best for digital/original PDFs.
- Overlay (Tint) Mode: Adds a transparent color layer on top of the page. Best for scanned documents or images.
- Real-time Preview: See how the first page looks before processing the entire file.
- Privacy Focused: Files are processed in memory and are not saved to the server.
- Instant Download: Download your modified PDF immediately after processing.
- Python: Core programming language.
- Streamlit: For building the interactive web interface.
- PyMuPDF (Fitz): High-performance library for PDF processing and rendering.
- Open the Live App or run.
- Upload your PDF file.
- Pick a Color that is comfortable for your eyes (e.g.,
#FFFFCCfor Soft Yellow). - (Optional) Check "Enable Overlay Mode" if your PDF is a scanned document.
- Click "Process PDF".
- Once done, click "Download Modified PDF" to save your new file.
- GitHub: @ajit421