Releases: DomingoMG/image_palette_extractor
Releases · DomingoMG/image_palette_extractor
v1.0.1 - Add isolate-safe pixel color extraction
✨ What's new in v1.0.1
- ✅ Added
extractDominantColorFromPixelsmethod for isolate-safe color extraction. - 🧵 Enables processing of raw RGBA
Uint8Listpixel data (e.g., converted fromui.Image.toByteData()). - 🚀 Supports integration with
Isolate.run()orcompute()to avoid blocking the UI thread. - 📚 Updated README with usage example for isolate-based workflows.
v0.0.1 - Initial commit
🎉 Initial release of image_palette_extractor
This Flutter plugin provides a simple and lightweight way to extract the dominant color or a color palette from any image (local or network).
✨ Features
- 🔍 Extract the dominant color from a network or in-memory image
- 🎨 Get a color palette from an image (with adjustable count)
- 🌐 Works with image URLs and
dart:uiimage decoding - 🎯 Useful for dynamic theming (e.g., album covers, artwork, podcast thumbnails)
🚀 Getting Started
final palette = await extractPaletteFromUrl(
'https://example.com/image.jpg',
count: 5,
);
final dominantColor = await extractDominantColorFromUrl(
'https://example.com/image.jpg',
);