Skip to content

Releases: DomingoMG/image_palette_extractor

v1.0.1 - Add isolate-safe pixel color extraction

06 Aug 21:58

Choose a tag to compare

✨ What's new in v1.0.1

  • Added extractDominantColorFromPixels method for isolate-safe color extraction.
  • 🧵 Enables processing of raw RGBA Uint8List pixel data (e.g., converted from ui.Image.toByteData()).
  • 🚀 Supports integration with Isolate.run() or compute() to avoid blocking the UI thread.
  • 📚 Updated README with usage example for isolate-based workflows.

v0.0.1 - Initial commit

05 Aug 18:09

Choose a tag to compare

🎉 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:ui image 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',
);