https://github.com/guiss-guiss/imagemap
A Python application for image processing that preserves visual vibrancy by avoiding color averaging, featuring a graphical interface and multilingual support.
https://github.com/guiss-guiss/imagemap
color-mapping image-optimization image-processing image-resizing image-scaling
Last synced: 5 days ago
JSON representation
A Python application for image processing that preserves visual vibrancy by avoiding color averaging, featuring a graphical interface and multilingual support.
- Host: GitHub
- URL: https://github.com/guiss-guiss/imagemap
- Owner: Guiss-Guiss
- License: other
- Created: 2024-11-06T21:49:07.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-21T18:58:23.000Z (over 1 year ago)
- Last Synced: 2025-03-14T15:42:35.950Z (about 1 year ago)
- Topics: color-mapping, image-optimization, image-processing, image-resizing, image-scaling
- Language: Python
- Homepage:
- Size: 91.8 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🎨 ImageMap
A Python application for image processing that preserves visual vibrancy by avoiding color averaging, featuring a graphical interface and multilingual support.




## 🎯 Core Innovation
ImageMap revolutionizes image resizing by eliminating the common problem of color averaging. Traditional resizing algorithms create new, averaged colors that tend toward grey, resulting in flat, lifeless images. ImageMap instead:
- ✅ Never averages colors, preventing the "washed-out" effect
- ✅ Maintains the original image's vibrant contrasts
- ✅ Preserves the crispness of color transitions
- ✅ Keeps small details sharp and visible
## 🔍 The Problem with Traditional Resizing
Traditional resizing methods:
- Create new, averaged colors that didn't exist in the original
- Tend toward grey due to mathematical averaging
- Lose subtle contrasts and details
- Result in flatter, less vibrant images
## ✨ The Solution
ImageMap's approach:
- Uses only original colors from the source image
- Prevents the grey-shift effect of color averaging
- Maintains the original color dynamics
- Preserves the visual punch of the original image
## 🛠️ Technical Advantages
- **Smart Color Selection**: Instead of averaging, selects the most appropriate original color
- **Contrast Preservation**: Maintains the visual separation between different colored areas
- **Detail Retention**: Keeps small elements visually distinct
- **Anti-Greying**: Prevents the dulling effect common in traditional resizing
## 🚀 Features
- 🎨 Zero color averaging during resizing
- 📐 Sharp, clear results at any scale
- 🎯 Preservation of original color vibrancy
- ⚡ GPU-accelerated processing
- 🌍 Interface in English, French, German, and Spanish
- 💻 Modern GUI with ttkbootstrap
- 📊 Real-time processing feedback
## 📋 Prerequisites
- Python 3.11.8
- CUDA Toolkit (for GPU acceleration)
- Python dependencies listed in `requirements.txt`
## ⚙️ Installation
```bash
# Clone the repository
git clone https://github.com/Guiss-Guiss/ImageMap.git
# Navigate to directory
cd ImageMap
# Install dependencies
pip install -r requirements.txt
# Launch the application
python main.py
```
## 💡 Visual Quality Comparison
#### Traditional Resizing:
- ❌ Creates averaged colors
- ❌ Tends toward grey
- ❌ Loses contrast
- ❌ Blurs details
#### ImageMap:
- ✅ Uses only original colors
- ✅ Maintains color vibrancy
- ✅ Preserves contrasts
- ✅ Keeps details sharp
## 🔧 How It Works
1. **Analysis**
- Identifies all original colors in the image
- Maps color relationships and transitions
2. **Smart Resizing**
- Selects appropriate original colors for each pixel
- Avoids creation of averaged, greyed-out colors
3. **Detail Preservation**
- Maintains sharp transitions between colors
- Preserves the visual impact of small details
## 📝 Technical Details
- Native RGB processing
- Supports PNG, JPG, JPEG, BMP
- GPU-optimized algorithms
- Zero color interpolation
## 💻 Usage
1. Launch via `python main.py`
2. Load your image
3. Set scale factor
4. Watch as ImageMap resizes while maintaining original color vibrancy
5. Save your crisp, vibrant result
## 🎯 Key Advantage
Unlike traditional resizing tools that average colors and create a duller image, ImageMap maintains the original image's visual impact by completely avoiding color averaging, resulting in sharper, more vibrant output at any size.
## 🤝 Contributing
This is a proprietary project. For suggestions or bug reports, please contact me.
## 📜 License
© 2024 Guillaume Ste-Marie. All rights reserved.
---
*Dedicated to preserving image vibrancy through intelligent color processing*