Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/abcdesktopio/colorflow
get background color from an image file
https://github.com/abcdesktopio/colorflow
Last synced: about 2 months ago
JSON representation
get background color from an image file
- Host: GitHub
- URL: https://github.com/abcdesktopio/colorflow
- Owner: abcdesktopio
- License: gpl-2.0
- Created: 2023-12-26T10:12:13.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2024-02-15T16:10:51.000Z (11 months ago)
- Last Synced: 2024-05-14T00:45:30.853Z (8 months ago)
- Language: Python
- Size: 12.7 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Colorflow
Colorflow is a Node.js module that allows you to get the HEXA code for a background color to set based on an image.
The supported file formats for the images are PNG, JPEG and Bitmap.## Requirements
- binutils
- make
- gcc
- g++
- Node.js
- npm (Node.js package manager)You will also need to insall Imlib2 by running the following command
```
apt-get update && apt-get install -y --no-install-recommends \
libimlib2\
libimlib2-dev
```## How to use it
You will first have to clone the repository
```
git clone https://github.com/abcdesktopio/colorflow.git
```
Next you have to build the module by running ```make build```
Now you can use the module as it is shown in the app.js example file.## Sources
- Imlib2 : https://docs.enlightenment.org/api/imlib2/html/