tsivinsky / flood-fill

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

flood-fill

modify image with some function. supports only jpeg and png images.

NOTE: i don't know if it's actually flood fill algorithm but name is cool tho :)

usage

convert dominant color with complementary one

go run . -n 1 -op c ./image.jpg

convert every pixel with black & white

go run . -n 0 -op bw ./image.png

docs

number of dominant colors

go run . -n {number}

0 - means every color

operation

go run . -op {bw|c}

bw - black & white c - complementary

About


Languages

Language:Go 100.0%