replace_palette 0.1.1 copy "replace_palette: ^0.1.1" to clipboard
replace_palette: ^0.1.1 copied to clipboard

Replaces the color palette in an image, respecting the color models. The easy-to-use and well-tested package.

Replace Color Palette #

Cover - Replace Palette

GitHub License Pub Package Code Size Publisher

Build Status Pull Requests Issues Pub Score

Replaces the color palette in an image, respecting the color models. The easy-to-use and well-tested package. Feel free to use it in your awesome project.

Android iOS Linux MacOS Web Windows
platform
Dart Flutter
SDK

Share some ❤️ and star repo to support the project.

Usage #

Original Source #

Source image

final palette = UniPalette<int>.file('my_palette.json', ColorModel.rgb);
final image = await const Dresser().dressFile(File('source.webp'), palette);
File('result.png').writeAsBytesSync(encodePng(image));

⬇️

Faber Castell 36 Palette #

Faber Castell 36 Palette - Result image

Black and White Palette #

Black and White Palette - Result image

Welcome to Inspiration #

Requests and suggestions are warmly welcome.

Contributions are what make the open-source community such a great place to learn, create, take a new skills, and be inspired.

If this is your first contribution, I'll leave you with some of the best links I've found: they will help you get started or/and become even more efficient.

The package ReplacePalette is open-source, stable and well-tested. Development happens on GitHub. Feel free to report issues or create a pull-request there.

General questions are best asked on StackOverflow.

And here is a curated list of how you can help:

  • Report parts of the documentation that are unclear.
  • Fix typos/grammar mistakes.
  • Update the documentation or add examples.
  • Report bugs and scenarios that are difficult to implement.
  • Implement new features by making a pull-request (look below).

TODO (perhaps) #

Once you start using the ReplacePalette, it will become easy to choose the functionality to contribute. But if you already get everything you need from this package but have some free time, let me write here what I have planned:

It's just a habit of mine: writing down ideas that come to mind while working on a project. I confess that I rarely return to these notes. But now, hopefully, even if you don't have an idea yet, the above notes will help you choose the suitable "feature" and become a contributor to the open-source community.

Created with ❤️

3
likes
0
points
82
downloads

Publisher

verified publishersyrokomskyi.com

Weekly Downloads

Replaces the color palette in an image, respecting the color models. The easy-to-use and well-tested package.

Repository (GitHub)
View/report issues

Topics

#palette #color #replace #edit #image

License

unknown (license)

Dependencies

image, uni_color_model, uni_color_name

More

Packages that depend on replace_palette