A Python package to resize images (JPEG, PNG, BMP, GIF)
Project description
# pyimage_scaler
Resize images in Python with a unique package name.
- Supports JPEG, PNG, BMP, GIF with Pillow (recommended).
- Falls back to PPM/PGM/GIF with Tkinter if Pillow is not installed.
## Usage
from pyimage\_scaler import resize\_image
resize\_image("input.jpg", "output.jpg", 300, 300)
```python
from pyimage_scaler import resize_image
resize_image("input.png", "output.png", 3840, 3840)
---
\### ✅ Usage
```python
from pyimage\_scaler import resize\_image
resize\_image("my\_photo.png", "my\_photo\_resized.png", 400, 400)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
pyimage_scaler-1.1.2.tar.gz
(1.9 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pyimage_scaler-1.1.2.tar.gz.
File metadata
- Download URL: pyimage_scaler-1.1.2.tar.gz
- Upload date:
- Size: 1.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
afaef6f72c1be9abb2caf18374be0f1462d301b22b262be9d387f6f74c5fb36d
|
|
| MD5 |
b1837593e14278facf3f7995b5f2bf6b
|
|
| BLAKE2b-256 |
784072933f84b799309f57bd2260a303847356dad65e39b167b433b67b8eaf71
|
File details
Details for the file pyimage_scaler-1.1.2-py3-none-any.whl.
File metadata
- Download URL: pyimage_scaler-1.1.2-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d48c884832d03d7f722913a9aa8119d5d3c0247e8d347892ff7312dd17105f94
|
|
| MD5 |
e33665e7c394d325c7873879dc3b76a7
|
|
| BLAKE2b-256 |
1c57b6053178b5325623fee2fe84d12364e352ec503e920e72dea88f29156359
|