$npx skillfedfor your agent

blend-modes

Image processing blend modes

Worth itPyPI Graphics ConversionReleased Oct 2024153.5K downloads / moMITPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — blend_modes-2.2.0-py3-none-any.whl
v2.2.0 · released 2024-10-16 · 1 runtime deps: numpy

Yes. The package is stable, actively maintained, has no known vulnerabilities, installs with minimal friction (NumPy only), and fills a genuine gap for programmatic image blending. Install it if you need to composite images with blend modes in Python; skip it if you only need basic image overlay without blend mode control.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Input images must be NumPy float arrays in RGBA format with shape (height, width, 4) and values in range 0.0–255.0; both images must have identical dimensions.
  • Low friction: pure Python wheel with only NumPy as a runtime dependency.
  • Actively maintained with recent commits and a stable release history since 2016.

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 2024-10-16 (667 days) · last repo commit 2026-04-30 · 158 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 153,512 downloads/mo, #10,880 on PyPI

Verify before relying

pip install blend_modes

from blend_modes import soft_light
import numpy as np

# Assuming bg_img and fg_img are numpy float arrays with shape (height, width, 4)
blended = soft_light(bg_img, fg_img, opacity=0.7)
  • Whether Cython optimization mentioned in the description is available or planned as a separate package.
  • Current Python version support (classifiers list 3.5 but requires_python is unspecified).
Same gist for agents: .md · .json

What it is and what it does

Blend Modes is a NumPy-based image compositing library that applies blend modes—the layer-blending algorithms used in graphics editors—to combine two images. It supports fourteen modes including soft light, dodge, multiply, overlay, and grain extract, each producing different visual effects by controlling how pixel values from a foreground layer mix with a background layer. You pass two same-sized NumPy arrays (in RGBA format with float values 0–255) and an opacity parameter; the function returns a blended array in the same format.

The package is designed for speed through NumPy vectorization and integrates easily with image-loading libraries like Pillow or OpenCV. It's useful when you need programmatic control over layer blending in image processing pipelines—tasks that would otherwise require calling external graphics software or reimplementing blend algorithms yourself.

Use it for

  • Composite multiple image layers in batch image processing pipelines with control over blend mode and opacity.
  • Apply Photoshop-style blend modes to images loaded via Pillow or OpenCV without leaving Python.
  • Generate image effects (dodge, multiply, overlay) programmatically for graphics generation or photo editing tools.
  • Blend watermarks, overlays, or annotations onto background images with precise blending control.
  • Implement layer-based image editing in custom graphics applications.

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Worth it

Yes.

The package is stable, actively maintained, has no known vulnerabilities, installs with minimal friction (NumPy only), and fills a genuine gap for programmatic image blending. Install it if you need to composite images with blend modes in Python; skip it if you only need basic image overlay without blend mode control.

Install

blend-modes on PyPI

Before you install

Low friction: pure Python wheel with only NumPy as a runtime dependency. Actively maintained with recent commits and a stable release history since 2016.

Input images must be NumPy float arrays in RGBA format with shape (height, width, 4) and values in range 0.0–255.0; both images must have identical dimensions.

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 blend_modes

from blend_modes import soft_light
import numpy as np

# Assuming bg_img and fg_img are numpy float arrays with shape (height, width, 4)
blended = soft_light(bg_img, fg_img, opacity=0.7)

Verify before relying

  • Whether Cython optimization mentioned in the description is available or planned as a separate package.
  • Current Python version support (classifiers list 3.5 but requires_python is unspecified).

Package facts

LicenseMIT permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
numpy
MaintenanceActively maintained 667 days since the last release
Last repo commit
First released
Downloads153,512 / month, #10,880 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseProgramming Language :: Python :: 3.5Topic :: Multimedia :: Graphics :: Graphics Conversion

Evidence: blend_modes-2.2.0-py3-none-any.whl

Tags

Capabilities
image blend modeslayer blendingimage compositingsoft light dodge multiplyphotoshop blend modes pythonimage layer mixingnumpy image blending
Topics
image-processinggraphics-compositing
PyPI keywords
imageprocessingblendmodes

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 › “soft light dodge multiply”

Give your agent the search over MCP, or paste the wish link into any chat.

More Graphics Conversion packages

pillow Worth it
PyPI · Graphics · released Jul 2026

Pillow adds image processing capabilities to Python, providing file format support, efficient pixel data handling, and image manipulation operations.

Install it if you need to work with images in Python—it is the de facto standard for this task.

MIT-CMUcompiled wheel · 3.10+
547.1Mdownloads / mo
fonttools Worth it
PyPI · Text Processing · released May 2026

fonttools manipulates font files in multiple formats (TrueType, OpenType, AFM, Type 1, Mac-specific) and includes TTX, a tool to convert fonts to and from XML text format.

Install it if you need to read, write, or manipulate fonts programmatically or via the TTX command-line tool.

permissive licensepure Python · 3.10+
235.9Mdownloads / mo
weasyprint Worth it
PyPI · WWW/HTTP · released Jun 2026

WeasyPrint converts HTML and CSS into PDF documents using a Python-based rendering engine designed for pagination and document generation.

BSD-3-Clausepure Python · 3.10+
39.7Mdownloads / mo
CairoSVG Worth it
PyPI · Graphics Conversion · released Mar 2026

CairoSVG converts SVG files to PDF, EPS, PS, and PNG formats using the Cairo graphics library.

copyleftpure Python · 3.10+
20.7Mdownloads / mo
pillow-heif With conditions
PyPI · Software Development · released Jul 2026

pillow-heif adds HEIF/HEIC image format support to Python, enabling decoding and encoding of 8, 10, and 12-bit HEIC files with metadata and depth image handling.

GPL-2.0-onlycompiled wheel · 3.10+
13.2Mdownloads / mo
rasterio Worth it
PyPI · GIS · released Aug 2026

Rasterio reads and writes geospatial raster data in formats like GeoTIFF, providing a Python API based on N-D arrays for working with gridded datasets.

BSD-3-Clausecompiled wheel · 3.12+
9.7Mdownloads / mo

See also blendmodes · pilgram · loadimg · psd-tools · python-resize-image · qoi · pilkit · skia-pathops · pixeloe · opencv-python