- API
/upload
/thumbnail
- Save origin image on local disk
- Generate thumbnail image with size you desire
- JSON response format
- Custom
index.html
homepage - Redis cached upload result based on photo hash
- https://github.com/strukturag/libheif/
- https://github.com/MaestroError/heif-converter-image/blob/maestro/install-libheif.sh
brew install libheif
go run *.go -listen '127.0.0.1:8000' -domain 'http://127.0.0.1:8000'
/upload
/thumbnail
Common query parameters:
width int "max thumbnail width"
height int "max thumbnail width"
quality int "thumbnail quality"