module
Version:
v1.0.7
Opens a new window with list of versions in this module.
Published: Mar 25, 2023
License: MIT
Opens a new window with license information.
README
¶
go-pixelart
🎖 Awesome tiny project getting fourth place 4⃣ 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
Directories
¶
|
|
|
|
internal
|
|
|
|
|
|
Click to show internal directories.
Click to hide internal directories.