resize-right
Resize Right
Decision gist · record as of 2026-08-14
Yes, if you need differentiable resizing with anti-aliasing and are willing to accept an abandoned package with no ongoing maintenance. The core algorithm appears sound for its stated use cases (super-resolution, image restoration), but expect no bug fixes, no compatibility updates, and no support. Suitable for research or one-off projects; risky for production systems or long-term codebases.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires either NumPy or PyTorch installed; the package itself has no hard dependency but will not function without at least one of them.
- Low install friction with no runtime dependencies; however, the package is abandoned (last commit 2023-07-13, no releases since 2022-05-05), so expect no maintenance or bug fixes going forward.
License · maintenance · safety
MIT (permissive) — MIT license is permissive, allowing commercial and private use with minimal restrictions—you may use, modify, and distribute this package freely as long as you include the license notice.
last release 2022-05-05 (1562 days) · last repo commit 2023-07-13 · 566 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 198,695 downloads/mo, #9,721 on PyPI
Alternatives
Verify before relying
pip install resize-right
import resize_right
resized = resize_right.resize(input, scale_factors=0.5)- Whether the package's claimed correctness advantages over MATLAB and other resizers hold up under real-world use cases beyond the author's test cases.
- Current compatibility with modern Python versions beyond 3.6, given the package is abandoned and has not been tested recently.
- Performance characteristics and memory efficiency when processing very large batches or high-resolution tensors with the convolution-based optimization.
What it is and what it does
ResizeRight is a tensor resizing library designed for machine learning and image enhancement tasks. It supports both NumPy and PyTorch tensors seamlessly, automatically choosing the framework based on input type, and performs fully differentiable operations suitable for training. The package addresses what the author identifies as correctness issues in existing resizers: it produces results matching MATLAB's imresize for simple cases, implements anti-aliasing for downscaling to prevent artifacts, and crucially handles the non-integer scaling case by accepting both scale-factor and output-size parameters to maintain consistency and centering.
The library offers multiple interpolation methods (cubic, linear, Lanczos, box), supports N-dimensional tensors with M-dimensional resizing, and can apply different scale-factors per dimension. For rational scale-factors with small numerators, it can use efficient convolution-based calculation. It includes flexible padding modes and allows custom interpolation methods. However, the package has been abandoned since mid-2023 with no updates or maintenance.
Use it for
- Preprocessing images for super-resolution models where consistent scale-factor and output-size handling is critical for training stability.
- Downscaling high-resolution images while preserving detail through anti-aliasing, avoiding artifacts common in other resizing libraries.
- Building differentiable image processing pipelines where gradients must flow through the resizing operation.
- Implementing zero-shot super-resolution or other learning-based image enhancement tasks requiring precise, centered resizing.
- Batch processing large tensors efficiently using convolution-based resizing when scale-factors are rational with small numerators.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you need differentiable resizing with anti-aliasing and are willing to accept an abandoned package with no ongoing maintenance.
The core algorithm appears sound for its stated use cases (super-resolution, image restoration), but expect no bug fixes, no compatibility updates, and no support. Suitable for research or one-off projects; risky for production systems or long-term codebases.
Install
resize-right on PyPI
Before you install
Low install friction with no runtime dependencies; however, the package is abandoned (last commit 2023-07-13, no releases since 2022-05-05), so expect no maintenance or bug fixes going forward.
Requires either NumPy or PyTorch installed; the package itself has no hard dependency but will not function without at least one of them.
License in practice
MIT license is permissive, allowing commercial and private use with minimal restrictions—you may use, modify, and distribute this package freely as long as you include the license notice.
Quickstart
pip install resize-right
import resize_right
resized = resize_right.resize(input, scale_factors=0.5)
Verify before relying
- Whether the package's claimed correctness advantages over MATLAB and other resizers hold up under real-world use cases beyond the author's test cases.
- Current compatibility with modern Python versions beyond 3.6, given the package is abandoned and has not been tested recently.
- Performance characteristics and memory efficiency when processing very large batches or high-resolution tensors with the convolution-based optimization.
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | None |
| Maintenance | Abandoned 1,562 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 198,695 / month, #9,721 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 4 - BetaIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.6Topic :: Scientific/Engineering :: Artificial Intelligence |
Evidence: resize_right-0.0.2-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 › “image resize numpy pytorch”
- resize-rightResizes images or tensors in NumPy or PyTorch with differentiable…
- kornia-rskornia-rs provides low-level computer vision operations—image I/O,…
- python-resize-imageProvides functions to resize images using Pillow, supporting crop,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Artificial Intelligence packages
LiteLLM provides a unified Python interface to call 100+ LLM providers (OpenAI, Anthropic, Gemini, Bedrock, Azure, and others) using OpenAI-compatible API format, available as both a Python SDK and a self-hosted AI Gateway proxy server.
Install it if you need to work with multiple LLM providers or want to centralize LLM routing in your organization.
Client library and CLI tool for downloading, uploading, and managing models, datasets, and repositories on the Hugging Face Hub platform.
Install it if you work with Hugging Face Hub models or datasets.
LangChain provides a framework for building agents and LLM-powered applications by composing language models, tools, and memory through a unified API that abstracts over multiple model providers.
hf-xet provides chunk-based deduplication and efficient file transfer for the Hugging Face Hub, enabling faster uploads and downloads of large files with local disk caching.
Tokenizers converts raw text into token sequences for NLP models, with support for training custom vocabularies and using pre-built tokenizers (BPE, WordPiece) optimized for speed via Rust.
Transformers provides a unified framework for loading, fine-tuning, and running state-of-the-art pretrained models across text, vision, audio, video, and multimodal tasks using PyTorch, JAX, or TensorFlow.
Install it if you need to run or train any transformer-based model for NLP, vision, audio, or multimodal tasks.
See also unfoldNd · julius · torch · tensorflow-graphics · imutils · causal-conv1d · pytorchcv · basicsr · python-resize-image · realesrgan