hyperscale / hyperpic

Fast HTTP microservice for high-level image processing.
MIT License
31 stars 2 forks source link
12-factor crop crop-image docker gif golang http-server image image-processing jpg libvips microservice png resize-images webp

Hyperpic Last release

Reactive logo

Go Report Card

Branch Status Coverage Docker
master Go Coveralls
develop Go Coveralls

Fast HTTP microservice for high-level image processing.

Run on Google Cloud

Install

Docker

docker pull hyperscale/hyperpic

MacOS

Install libvips:

brew install homebrew/science/vips --with-webp

Build hyperpic:

make build

Run hyperpic

./hyperpic

Example

Crop

Original: https://hyperpic-euskadi31.koyeb.app/kayaks.jpg

Original

Croped and Resized: https://hyperpic-euskadi31.koyeb.app/kayaks.jpg?w=400&h=400&fit=crop

Croped and resized

Crop on focal point

Original: https://hyperpic-euskadi31.koyeb.app/smartcrop.jpg

Original

Croped and Resized: https://hyperpic-euskadi31.koyeb.app/smartcrop.jpg?w=200&h=200&fit=crop-focal-point

Croped and resized

Documentation

Hyperpic API Reference

License

hyperpic is licensed under the MIT license.