Code Monkey home page Code Monkey logo

kvnbbg / pdf_fit Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.55 MB

PDF FIT is a user-friendly Python-based tool designed to compress PDF files efficiently, making them optimal for sharing on various platforms where file size matters, such as LinkedIn or other online platforms. This tool automates the process of reducing PDF sizes, ensuring they are optimized for online use.

Home Page: https://kvnbbg.github.io/pdf_fit/

License: Other

HTML 28.95% Python 63.70% CSS 7.35%
compression compression-algorithm html pdf pdf-document python tools compression-pdf

pdf_fit's Introduction

# PDF FIT - PDF Size Reducer

![Screenshot](screenshot.jpg "Screenshot")

PDF FIT is a user-friendly Python-based tool designed to compress PDF files efficiently, making them optimal for sharing on various platforms where file size matters, such as LinkedIn or other online platforms. This tool automates the process of reducing PDF sizes, ensuring they are optimized for online use.

![Merry Christmas](merry_christmas.jpg "Merry Christmas Feature")

## Features

- **Simple Interface:** A straightforward UI allows users to reduce PDF sizes with ease.
- **Cross-platform:** Works on Windows, macOS, Linux, and more.
- **Efficient Compression:** Compresses PDF files while maintaining quality.

## Installation and Usage

### Prerequisites

Ensure you have Python installed on your system. If not, download and install Python from [Python's official website](https://www.python.org/downloads/).

### Installation Steps

1. **Clone the Repository:**

   ```bash
   git clone https://github.com/kvnbbg/pdf_fit.git
   cd pdf_fit
  1. Install Dependencies:

    Install the required libraries using pip:

    pip install PyPDF2
  2. Run the Application:

    Run the script to execute the PDF size reduction tool:

    python pdf_size_reduce.py
  3. Follow On-Screen Instructions:

    • Click the "Reduce PDF Size" button.
    • Select the PDF file to compress.
    • Choose the location to save the reduced PDF.

Creating Standalone Executable (macOS, Windows, Linux)

To create an executable app for your specific platform, follow these steps:

  1. **Create a Python script named pdf_size_reduce.py containing the code for the PDF size reduction tool.

  2. **Create a setup.py file with setup configurations for your platform-specific executable.

  3. **Run the setup file to create the executable:

    For macOS (using py2app):

    python setup.py py2app

    For Windows (using py2exe) or Linux (using PyInstaller), adjust the setup file and use the corresponding command to create the executable.

  4. Find the Generated App:

    Navigate to the dist folder and find the generated app or executable.

Credits

This PDF size reduction tool is developed by Kevin Marville and is distributed under the MIT License.

pdf_size_reduce.py

# The content of pdf_size_reduce.py script goes here

setup.py

# The content of setup.py script goes here

install.py

# The content of install.py script goes here

For further details, explore the scripts provided in this repository.


Replace `[Kevin Marville](https://github.com/kvnbbg)` with your actual name and GitHub profile link. Additionally, ensure the sections about `pdf_size_reduce.py`, `setup.py`, and `install.py` contain the respective script content.

pdf_fit's People

Contributors

kvnbbg avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.