Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/joshuarabiu/palette_bot

A Reddit bot that generates a color palette for images it is called upon
https://github.com/joshuarabiu/palette_bot

Last synced: about 2 months ago
JSON representation

A Reddit bot that generates a color palette for images it is called upon

Awesome Lists containing this project

README

        

# Palette_Bot
Palette_Bot is a Reddit bot that generates a color palette for images it is called upon. The sizes of each color in the palette image are proportionate to thier dominance in the input image. Image/color processing is handled by a fork of the [Haishoku](https://www.github.com/LanceGin/Haishoku) Library, which I've modified to work with this bot ([Haishoku-mod](https://github.com/JoshuaScript/haishoku-mod)).

[Palette_Bot's profile on Reddit](https://www.reddit.com/u/Palette_Bot)
# Usage
To use palette_bot on Reddit, comment "u/palette_bot" on an image post ([Example](https://www.reddit.com/r/pics/comments/8gc84d/in_vermont_it_snowed_yesterday_and_today_it/dyak506/?context=3)). Palette_bot will then respond with an imgur link to the generated color palette. GIF images are currently unsupported.
# Example
Input Image:
![Input Image](https://i.redd.it/25liq6fbj5zz.jpg)
Output Image (generated palette):
![Palette Image](https://i.imgur.com/g1vlvnP.jpg)