Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/joshuarabiu/palette_bot
- Owner: JoshuaRabiu
- Created: 2018-05-02T13:52:03.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T02:12:18.000Z (about 2 years ago)
- Last Synced: 2023-03-07T20:40:18.261Z (almost 2 years ago)
- Language: Python
- Homepage: https://www.reddit.com/user/palette_bot
- Size: 15.6 KB
- Stars: 4
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
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)