blendmodes
Use this module to apply a number of blending modes to a background and foreground image
Decision gist · record as of 2026-08-14
Yes. The package is actively maintained with no known vulnerabilities, installs with low friction, and solves a concrete problem—programmatic image blending—that would otherwise require manual implementation. The MIT license is unrestricted. Install it if you need to blend images with standard layer modes in Python.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >= 3.9; background and foreground images must be compatible objects from pillow.
- Low install friction; pure Python wheel with three common dependencies (aenum, numpy, pillow).
- Actively maintained with last commit on 2026-07-24.
License · maintenance · safety
MIT (permissive) — MIT license is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
last release 2025-02-20 (540 days) · last repo commit 2026-07-24 · 38 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 283,152 downloads/mo, #8,078 on PyPI
Alternatives
Verify before relying
pip install blendmodes
import blendmodes
import numpy
from pillow import Image
background = Image.open('bg.png')
foreground = Image.open('fg.png')
result = blendmodes.blend(background, foreground)- Which specific blending modes are implemented and how they compare to standard image editor implementations.
- Performance characteristics when blending large images or applying modes repeatedly.
- API surface and exact function signatures for applying blend modes.
What it is and what it does
BlendModes is a Python library that applies layer blending modes—the same operations used in image editors—to composite two images together. It wraps implementations derived from the Open Raster Image Spec, Paint.NET, and other popular image editors, exposing them through a simple API that takes a background image, a foreground image, and a blend mode, then returns the composited result.
The package depends on numpy for numerical operations and pillow for image handling, making it straightforward to integrate into image processing pipelines. It's designed for developers who need programmatic access to blending operations without building them from scratch.
Use it for
- Composite watermarks or logos onto photographs with specific blend modes for natural integration.
- Build batch image processing pipelines that apply consistent layer effects across many images.
- Create image editing tools or filters that expose blending modes to end users.
- Generate artistic effects by layering textures or patterns with different blend modes.
- Automate photo retouching workflows that require layer blending operations.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes.
The package is actively maintained with no known vulnerabilities, installs with low friction, and solves a concrete problem—programmatic image blending—that would otherwise require manual implementation. The MIT license is unrestricted. Install it if you need to blend images with standard layer modes in Python.
Install
blendmodes on PyPI
Before you install
Low install friction; pure Python wheel with three common dependencies (aenum, numpy, pillow). Actively maintained with last commit on 2026-07-24.
Requires Python >= 3.9; background and foreground images must be compatible objects from pillow.
License in practice
MIT license is permissive; you can use, modify, and distribute this package freely in commercial and private projects with minimal restrictions.
Quickstart
pip install blendmodes
import blendmodes
import numpy
from pillow import Image
background = Image.open('bg.png')
foreground = Image.open('fg.png')
result = blendmodes.blend(background, foreground)
Verify before relying
- Which specific blending modes are implemented and how they compare to standard image editor implementations.
- Performance characteristics when blending large images or applying modes repeatedly.
- API surface and exact function signatures for applying blend modes.
Package facts
| License | MIT permissive |
| Python support | Supports the current Python release >=3.9 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 3 packagesaenumnumpypillow |
| Maintenance | Actively maintained 540 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 283,152 / month, #8,078 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 :: DevelopersIntended Audience :: EducationNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: Python :: Implementation :: CPythonTopic :: Multimedia :: GraphicsTopic :: Software Development :: Libraries :: Python ModulesTopic :: Utilities |
Evidence: blendmodes-2025-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 blending modes”
- blendmodesApplies a range of blending modes to composite a foreground image…
- blend-modesImplements blend modes (soft light, dodge, multiply, overlay, and…
- pilgramApplies Instagram-style filters and CSS-based image effects to images…
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 blend-modes · pilgram · psd-tools · PyMatting · coloraide · fill-voids · aes-pkcs5 · transparent-background · imgaug · pyobjc-framework-BackgroundAssets