image_palette_extractor 1.0.1 copy "image_palette_extractor: ^1.0.1" to clipboard
image_palette_extractor: ^1.0.1 copied to clipboard

Flutter plugin to extract the dominant color or a color palette from an image. Perfect for dynamic interfaces such as Spotify.

1.0.1 #

  • โž• Added extractDominantColorFromPixels method to support isolate-safe color extraction.
  • ๐Ÿ” Enables processing of raw RGBA Uint8List pixel data (e.g., from ui.Image.toByteData).
  • ๐Ÿงต Allows integration with Isolate.run() or compute() to avoid UI thread blocking.
  • ๐Ÿ“– Updated README with usage example for isolate-based color extraction.

1.0.0+1 #

  • Readme updated.

1.0.0 #

  • ๐Ÿš€ Stable release with extended functionality.
  • โœ… Added support for extracting dominant color and palette from:
    • Local image files (File)
    • Flutter in-memory images (ui.Image)
    • Specific regions within a ui.Image using Rect.
  • ๐Ÿ’ก Improved architecture with SOLID principles and clean code practices.
  • ๐Ÿงช Added full test coverage for all supported use cases.
  • ๐Ÿงฐ Better separation of concerns using ImageLoader and ColorAnalyzer classes.
  • ๐Ÿ“š Full documentation for all public APIs.

0.0.1 #

  • Initial release of image_palette_extractor.
  • Provides utilities to extract the dominant color from an image.
  • Supports color palette extraction from network images.
  • Allows setting the number of dominant colors to extract.
  • Built-in support for http and image packages.
  • Useful for dynamic theming and UI customization based on image content.
4
likes
150
points
30
downloads

Publisher

unverified uploader

Weekly Downloads

Flutter plugin to extract the dominant color or a color palette from an image. Perfect for dynamic interfaces such as Spotify.

Repository (GitHub)
View/report issues

Documentation

API reference

License

MIT (license)

Dependencies

flutter, http, image

More

Packages that depend on image_palette_extractor