Categorygithub.com/fairhive-labs/go-pixelart

# README

go-pixelart

Test & Heroku Deployment Test & Docker Build/Push

Transform picture into pixel art

:medal_military: Awesome tiny project getting fourth place :four: at GoHack Hackathon 2022 (1011 participants)

HTML

curl -vvv -X POST https://fairhive-pixelart.herokuapp.com/pixelize -F "file=@pictures/wfvr.png" -F "edge=short" -F "slices=100" -F "filter=ega" -H "Content-Type: multipart/form-data" --output pixelart.html

JSON

curl -s -X POST "https://fairhive-pixelart.herokuapp.com/pixelize?mime=json" -F "file=@pictures/wfvr.png" -F "edge=short" -F "slices=100" -F "filter=ega" -H "Content-Type: multipart/form-data" | jq

Docker

Build

docker build -t fairhivelabs/pixelart . && docker push fairhivelabs/pixelart

Run

docker run -it --rm -p 8080:8080 fairhivelabs/pixelart

# Packages

No description provided by the author
No description provided by the author