Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/haoict/pdf-resizer-python
Pdf Resizer Python is a simple tool to resize PDF files
https://github.com/haoict/pdf-resizer-python
Last synced: 11 days ago
JSON representation
Pdf Resizer Python is a simple tool to resize PDF files
- Host: GitHub
- URL: https://github.com/haoict/pdf-resizer-python
- Owner: haoict
- License: mit
- Created: 2024-09-16T05:15:26.000Z (3 months ago)
- Default Branch: develop
- Last Pushed: 2024-09-16T05:33:08.000Z (3 months ago)
- Last Synced: 2024-12-14T20:45:17.247Z (12 days ago)
- Language: Python
- Homepage:
- Size: 1.95 KB
- Stars: 3
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pdf Resizer Python
## Description
Pdf Resizer Python is a simple tool to resize PDF files. It allows users to change the dimensions of PDF pages to fit their needs, whether for printing, sharing, or archiving.## Features
- Resize PDF pages to custom dimensions
- Maintain aspect ratio while resizing
- Batch processing of multiple PDF files
- Command-line interface for easy integration into scripts## Installation
To install the Pdf Resizer Python tool, you need to have Python installed on your system. You can install the required dependencies using pip:```bash
pip install -r requirements.txt
```## Usage
To resize all PDF files in a folder, use the following command:
```bash
python3 main.py [folder] [scale_factor]
# Example: python3 main.py /path/to/folder 0.5
```with specific size
```bash
python3 main.py [folder] [width] [height]
# Example: python3 main.py /path/to/folder 400 600
```## Contributing
Contributions are welcome! Please fork the repository and submit a pull request with your changes.## License
This project is licensed under the MIT License. See the LICENSE file for details.## Contact
For any questions or suggestions, please open an issue on the GitHub repository.