IMDER is a professional-grade interactive image and video processor that creates smooth, mesmerizing animations through pixel-level transformations. Built for creatives, developers, and visual artists, IMDER delivers superior quality, blazing-fast performance, and unmatched flexibility for generating unique visual content.
π¦ Latest Release: v1.2.5 (February 2026) β Featuring custom resolutions up to 16384Γ16384, configurable FPS (30-240), and smart scaling support.
Important Notes:
- π§ Run from source for the latest version. Pre-built binaries are available for Windows/Linux(C++ Build) v1.2.5 and macOS/Linux(Python Build) v1.0.0, but running from source ensures you always have the newest features and fixes.
- π€ For AI agents and automated tools: See Bots.md
π¦ IMDER is available as a Python library on PyPI: Install with pip install imder for CLI automation and integration into your projects. See Python Library Docs
π For detailed version history, see CHANGELOG.md
# Install from PyPI
pip install imder
# Launch interactive CLI
imder
# Or use in your Python code
python -c "import imder; imder.process('base.jpg', 'target.jpg', './out', ['gif'], 'shuffle', 512, 'mute')"# Clone the repository
git clone https://github.com/HAKORADev/IMDER.git
cd IMDER
# Install dependencies
pip install -r requirements.txt
# Run GUI
python src/imder.py# Install FFmpeg (required for video/audio synthesis)
# Windows: winget install FFmpeg
# macOS: brew install ffmpeg
# Linux: sudo apt install ffmpegIMDER operates as both a standalone GUI application (source) and a Python package (PyPI):
| Feature | GUI (Source) | Library (PyPI) |
|---|---|---|
| Interface | PyQt5 GUI | CLI + Python API |
| Best for | Interactive editing | Automation, batch processing |
| Algorithms | 10 modes + Shape tools + Drawer | 4 core modes |
| Usage | Point-and-click | Code integration |
| Dependencies | PyQt5, OpenCV, NumPy | OpenCV, NumPy, Pillow |
IMDER offers 10 distinct pixel manipulation algorithms, each designed for specific visual effects:
| Mode | Description | Mask Required | Video Support |
|---|---|---|---|
| Shuffle | Random pixel swapping with brightness balance | No | β Yes |
| Merge | Grayscale sorting for smooth transitions | No | β Yes |
| Missform | Binary mask morphing for shape transformations | No | β Yes |
| Fusion | Selective transformation with color blending | Optional | β No |
| Pattern | Texture transfer via color quantization | Yes | β No |
| Disguise | Brightness-matched pixel rearrangement | Yes | β No |
| Navigate | Morton curve-guided pixel movement | Yes | β No |
| Swap | Bidirectional pixel exchange | Yes | β No |
| Blend | Physics-inspired fluid dynamics | Yes | β No |
| Drawer | Canvas-based sketch to image transformation | N/A | β No |
Full video-to-video and video-to-image processing capabilities:
- Frame-accurate pixel manipulation
- Support for MP4, AVI, MOV, MKV formats
- Audio generation and extraction (pixel synthesis or target track)
- Configurable FPS output: 30, 60, 90, 120, or 240 FPS
- Crossfade transitions between frames
- Resolution Flexibility: Standard presets (128Γ128 to 2048Γ2048) plus custom resolutions up to 16384Γ16384
- Smart Scaling: Automatic upscaling using nearest-neighbor interpolation before processing, ensuring no quality loss from downscaling-only workflows
- Shape Selection: Automatic k-means segmentation or manual pen-tool masking
- Transform Operations: 90Β° rotation increments and horizontal flip
- Multi-segment Support: Combine multiple selections for complex transformations
| Option | Description |
|---|---|
| Mute | No audio (default) |
| Pixel Sound | Synthesize audio from frame pixel data |
| Target Audio | Extract and preserve audio from source video |
| Quality Levels | 10%-100% bitrate preservation for target audio |
- PNG: Static final frame
- MP4: H.264 encoded video with configurable FPS
- GIF: Animated with optimized duration
- Synchronized Audio: MP4 with embedded audio tracks
IMDER algorithms create fluid transitions between images at any resolution:
Book β Girl transformation using Merge Algorithm
Transform hand-drawn sketches into photorealistic images:
Draw on canvas β Transform into target image
Features:
- 1024Γ1024 drawing canvas with adjustable brush sizes (1-50px)
- Undo/redo history (50 states)
- Color picker with full RGB support
- Base image overlay support (trace existing images)
- Intelligent pixel distribution algorithm
- Python 3.8+
- pip package manager
- FFmpeg (REQUIRED for video/audio processing)
pip install imderProvides the imder command globally and enables import imder in Python scripts.
git clone https://github.com/HAKORADev/IMDER.git
cd IMDER
pip install -r requirements.txt
python src/imder.pyDependencies:
PyQt5β GUI frameworkopencv-pythonβ Image/video processingnumpyβ Numerical operationsPillowβ Image format handling
# Windows
winget install FFmpeg
# macOS
brew install ffmpeg
# Linux (Debian/Ubuntu)
sudo apt install ffmpegInteractive Mode:
imderDirect Processing:
# Image processing with specific algorithm
imder base.jpg target.jpg ./output --results gif mp4 --algo merge --res 1024
# Video processing with audio extraction
imder video1.mp4 video2.mp4 ./output --results mp4 --sound target --sq 8Python API:
import imder
# Single transformation
imder.process(
base="input.jpg",
target="output.jpg",
result="./renders",
results=["png", "mp4", "gif"],
algo="missform",
res=2048,
sound="mute"
)
# Batch processing
for i in range(100):
imder.process(
base=f"frame_{i:03d}.png",
target="target.jpg",
result="./batch_output",
results=["png"],
algo="shuffle",
res=512,
sound="mute"
)See pip-imder.md for complete API documentation.
- Launch:
python src/imder.py - Select algorithm from dropdown (10 available modes)
- Choose resolution:
- Standard presets: 128Γ128 to 2048Γ2048
- Custom: Click "Custom" to enter any value up to 16384Γ16384
- Set FPS for video exports (30/60/90/120/240)
- Load base and target media (images or videos)
- Apply transforms (rotate/flip) if needed
- For mask-dependent algorithms, use "Analyze Shapes" or Pen tool
- Configure audio options for video exports
- Click "Start Processing" for real-time preview
- Export final results (PNG/MP4/GIF)
Drawer Mode Workflow:
- Select "Drawer" from mode dropdown
- Draw on canvas using mouse/tablet
- Load target image in right panel
- Process to see drawing transform into target
Interactive:
python src/imder.py cliDirect Arguments:
python src/imder.py base.jpg target.jpg missform 1024
python src/imder.py video1.mp4 video2.mp4 merge 512 target-sound 7- Square Resolution Processing: Algorithmically optimized 1:1 aspect ratio processing for consistent pixel mapping and Morton code operations
- Bidirectional Scaling: Nearest-neighbor upscaling ensures pixel integrity when source images are smaller than target resolution
- Morton Code Ordering: Z-order curve spatial indexing for organic pixel movement paths (Navigate algorithm)
- K-Means Segmentation: Intelligent automatic shape detection for mask generation
- QThread Architecture: Non-blocking GUI during heavy processing operations
- FFmpeg Integration: Professional-grade video encoding and audio handling
- Frame-Accurate Processing: Frame-by-frame video manipulation with temporal consistency
| Resolution | Approximate Time | Use Case |
|---|---|---|
| 128Γ128 | ~2 seconds | Preview, testing |
| 512Γ512 | ~8 seconds | Web content, drafts |
| 1024Γ1024 | ~20 seconds | Standard output |
| 2048Γ2048 | ~45 seconds | High quality |
| 16384Γ16384 | Minutes | Maximum quality |
Timings vary based on hardware (CPU-bound processing) and selected algorithm.
- Algorithms.md β Detailed algorithm explanations, technical implementation, and creative techniques
- pip-imder.md β Python library API reference
- CHANGELOG.md β Version history and release notes
- Bots.md β Guidelines for AI agents and automated systems
IMDER is open-source (MIT License) and welcomes contributions:
- New algorithms and processing modes
- Video processing enhancements
- UI/UX improvements
- Performance optimizations
- Documentation and translations
- Bug reports and feature requests
Please submit pull requests or issues via GitHub.
MIT License β See LICENSE for full details.
Built with appreciation for the open-source computer vision community and pixel manipulation techniques developed by digital artists worldwide.
Resources: GitHub Releases | PyPI Package | Issue Tracker



