python-resize-image
A Small python package to easily resize images
Decision gist · record as of 2026-08-14
Yes, if you need simple image resizing and are working with a stable Python and Pillow environment. The API is clean and the MIT license is permissive. However, be cautious: the package is abandoned (last commit 2021-11-04), so test thoroughly with your specific versions before relying on it in production. For new projects, consider whether a maintained alternative better suits your needs.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Pillow 2.7 or later; image file must be readable and in a format Pillow supports.
- Low install friction with just two runtime dependencies (Pillow and requests).
- However, the package is abandoned—last commit was 2021-11-04, over 1744 days ago.
License · maintenance · safety
MIT (permissive) — Licensed under MIT (permissive), so you can use, modify, and distribute freely with minimal restrictions. No commercial or proprietary concerns.
last release 2021-11-04 (1744 days) · last repo commit 2021-11-04 · 182 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 82,266 downloads/mo, #14,172 on PyPI
Alternatives
Verify before relying
pip install python-resize-image
from PIL import Image
from resizeimage import resizeimage
with open('image.jpg', 'r+b') as f:
with Image.open(f) as image:
resized = resizeimage.resize_cover(image, [200, 100])
resized.save('output.jpg', image.format)- Whether the package works reliably with modern Python versions despite being abandoned since 2021.
- Current state of compatibility with recent Pillow versions beyond what the documentation specifies.
- Whether the requests dependency is actually used or is a vestigial import.
What it is and what it does
python-resize-image wraps Pillow to provide a simpler API for common image resizing tasks. It offers six main functions: resize_crop (centered crop), resize_cover (fill and crop like CSS background-size: cover), resize_contain (fit without crop like CSS background-size: contain), resize_width, resize_height, and resize_thumbnail. Each function accepts an image object and size parameters, with optional validation to prevent upscaling and optional resampling filters.
The package is straightforward to use—you open an image, pass it to one of the resize functions, and save the result. It includes a validation layer that checks whether a resize is safe before executing it, and allows you to decouple validation from the actual resize operation. However, the project has been unmaintained since 2021-11-04, so it may have compatibility issues with newer Python or Pillow versions.
Use it for
- Generate thumbnail images for web galleries while preserving aspect ratio and avoiding upscaling.
- Crop images to a fixed size from the center for consistent social media post dimensions.
- Resize images to fit a bounding box without distortion, adding padding as needed.
- Batch-process images to specific widths or heights while maintaining their original proportions.
- Validate whether an image can be safely resized before performing the operation in a pipeline.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need simple image resizing and are working with a stable Python and Pillow environment.
The API is clean and the MIT license is permissive. However, be cautious: the package is abandoned (last commit 2021-11-04), so test thoroughly with your specific versions before relying on it in production. For new projects, consider whether a maintained alternative better suits your needs.
Install
python-resize-image on PyPI
Before you install
Low install friction with just two runtime dependencies (Pillow and requests). However, the package is abandoned—last commit was 2021-11-04, over 1744 days ago. No active maintenance means security updates and compatibility fixes are unlikely.
Requires Pillow 2.7 or later; image file must be readable and in a format Pillow supports.
License in practice
Licensed under MIT (permissive), so you can use, modify, and distribute freely with minimal restrictions. No commercial or proprietary concerns.
Quickstart
pip install python-resize-image
from PIL import Image
from resizeimage import resizeimage
with open('image.jpg', 'r+b') as f:
with Image.open(f) as image:
resized = resizeimage.resize_cover(image, [200, 100])
resized.save('output.jpg', image.format)
Verify before relying
- Whether the package works reliably with modern Python versions despite being abandoned since 2021.
- Current state of compatibility with recent Pillow versions beyond what the documentation specifies.
- Whether the requests dependency is actually used or is a vestigial import.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 2 packagesPillowrequests |
| Maintenance | Abandoned 1,744 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 82,266 / month, #14,172 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 2.7Programming Language :: Python :: 3Programming Language :: Python :: 3.4Programming Language :: Python :: 3.5Programming Language :: Python :: 3.6Topic :: Software Development :: Libraries :: Python Modules |
Evidence: python_resize_image-1.1.20-py2.py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “crop and resize images”
- python-resize-imageProvides functions to resize images using Pillow, supporting crop,…
- cloudinaryCloudinary Python SDK provides image and video upload,…
- WillowWillow provides a unified API for image manipulation across Pillow,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Python Modules packages
Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.
Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.
Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.
PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.
Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.
Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.
Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…
Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.
See also pilkit · simple-lama-inpainting · Willow · easy-thumbnails · pillow-jxl-plugin · resize-right · pdf2image · sorl-thumbnail · blend-modes · pyoxipng