Skip to content

miaomiaotech/photobox-lite

Repository files navigation

Photo Box Lite

logo

Features

  • 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

About HEIF format

  1. https://github.com/strukturag/libheif/
  2. https://github.com/MaestroError/heif-converter-image/blob/maestro/install-libheif.sh

Try in local environment

brew install libheif
go run *.go -listen '127.0.0.1:8000' -domain 'http://127.0.0.1:8000'

API

/upload
/thumbnail

    Common query parameters:
        width     int    "max thumbnail width"
        height    int    "max thumbnail width"
        quality   int    "thumbnail quality"

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published