Skip to main content

IMDER

PyPI version License: MIT

Image & Video Pixel Blender - Plugin Edition

A streamlined, CLI-first Python package for pixel-sorting image and video transformations. This is the lightweight, automation-friendly version of the full IMDER tool, designed for integration into pipelines, scripts, and other applications.

What it does

IMDER rearranges pixels between a base and target media using spatial sorting algorithms, creating glitch-art style transitions and data-bending effects without neural networks or heavy dependencies.

Supported formats:

  • Images: PNG, JPG, WebP
  • Video: MP4, AVI, MOV, MKV, FLV, WMV

Installation

pip install imder

Requirements: Python 3.8+, OpenCV, NumPy, Pillow. FFmpeg optional (required for audio features).

Usage

As a Python Library

import imder

# Process two images, output PNG and GIF
imder.process(
    base="path/to/image1.jpg",
    target="path/to/image2.jpg",
    result="path/to/output/",
    results=["png", "gif"],      # Options: png, gif, mp4
    algo="shuffle",              # shuffle, merge, missform, fusion
    res=512,                     # 128, 256, 512, 1024, 2048
    sound="mute"                 # mute, gen (generated), target (from video)
)

# CLI mode
imder.launch_interactive()

Command Line

# Interactive mode
imder

# Direct processing
imder base.jpg target.jpg ./output --results gif mp4 --algo missform --res 1024

# With target audio extraction (quality 1-10)
imder base.jpg target.mp4 ./out --results mp4 --sound target --sq 5

Algorithm Selection

Algorithm Images Videos Description
shuffle ✅ ✅ Random pixel swapping by luminosity bins
merge ✅ ✅ Grayscale-sorted pixel replacement
missform ✅ ✅ Binary threshold morphing
fusion ✅ ❌ Animated pixel sorting with interpolation

Sound options:

  • mute: Silent output
  • gen: Generate synthetic audio from pixel color values
  • target: Extract audio from target video (requires FFmpeg, --sq for quality 1-10)

Limitations vs Full Version

This PyPI distribution is a minimal, headless build optimized for automation:

Feature PyPI Package Full Version
Interface CLI / Python API GUI (PyQt5) + CLI
Shape Analysis ❌ ✅ (Interactive segmentation)
Pen Tool ❌ ✅ (Manual mask drawing)
Preview ❌ ✅ (Real-time animation preview)
Algorithms 4 core modes 9+ modes (Pattern, Disguise, Navigate, etc.)
Dependencies Lightweight Full Qt stack

Use this package when you need to batch process files, integrate into web services, or call from other Python applications. Use the GitHub version for interactive artistic workflows.

GitHub Repository

For the full-featured GUI application, source code, and detailed algorithm documentation:
👉 https://github.com/HAKORADev/IMDER

License

MIT License

Metadata

Release files for imder 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for imder 1.0.2
File Size Uploaded Provenance
imder-1.0.2.tar.gz 24.9 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for imder 1.0.2
File Interpreter ABI Platform
imder-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 34.0 kB

Release files / imder-1.0.2.tar.gz

Download URL imder-1.0.2.tar.gz
Size 24.9 kB
Tags Source
SHA-256 checksum
How to use checksums
d629adea4c1a53aef7193cec4bae0c81f9c3c5fd32102b40fd52f353bc985702
BLAKE2b-256 checksum
How to use checksums
a9f5a8e188475138955155e3d0793c9c6f315eb235da8e5b6dcaabace362d3d1
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Release files / imder-1.0.2-py3-none-any.whl

Download URL imder-1.0.2-py3-none-any.whl
Size 9.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
24427bd9683344d32adb0e25c56efd37476b29ae92e2391051482ee28d3605d2
BLAKE2b-256 checksum
How to use checksums
9deaeaf5ae17faf9774f66c26808a614cce03b3576636a1799b68cd6cd011632
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.7

Security for imder 1.0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page