HUB
Sign inSign up
imagor logo

shumc/imagor

By shumc

•Updated 4 days ago

Fast, secure image processing server and Go library, using libvips

Image
Developer tools
Web servers
2

500K+

shumc/imagor repository overview

⁠imagor

imagor is a fast, secure image processing server and Go library.

imagor uses one of the most efficient image processing libraries, libvips⁠ with the Go binding vipsgen⁠. It is typically 4-8x faster⁠ than using the quickest ImageMagick settings. imagor implements libvips streaming⁠ to facilitate parallel processing pipelines and achieve high network throughput. Benchmarks⁠ show imagor is one of the fastest image processing servers.

imagor supports a wide range of image-processing use cases, available as a HTTP server with first-class Docker support. It adopts the thumbor URL syntax representing a high-performance drop-in replacement.

imagor is built with speed, security and extensibility in mind. Alongside there is imagorvideo⁠ bringing video thumbnail capability through ffmpeg C bindings.

⁠Quick Start
docker run -p 8000:8000 shumc/imagor -imagor-unsafe -imagor-auto-webp

Original images:

https://raw.githubusercontent.com/cshum/imagor/master/testdata/gopher.png
https://raw.githubusercontent.com/cshum/imagor/master/testdata/dancing-banana.gif
https://raw.githubusercontent.com/cshum/imagor/master/testdata/gopher-front.png

Try out the following image URLs:

http://localhost:8000/unsafe/fit-in/200x200/filters:fill(white)/https://raw.githubusercontent.com/cshum/imagor/master/testdata/gopher.png
http://localhost:8000/unsafe/200x200/smart/filters:fill(white):format(jpeg):quality(80)/https://raw.githubusercontent.com/cshum/imagor/master/testdata/gopher.png
http://localhost:8000/unsafe/fit-in/-180x180/10x10/filters:hue(290):saturation(100):fill(yellow)/raw.githubusercontent.com/cshum/imagor/master/testdata/gopher.png
http://localhost:8000/unsafe/30x40:100x150/filters:fill(cyan)/raw.githubusercontent.com/cshum/imagor/master/testdata/dancing-banana.gif
http://localhost:8000/unsafe/fit-in/200x150/filters:fill(yellow):watermark(raw.githubusercontent.com/cshum/imagor/master/testdata/gopher-front.png,repeat,bottom,0,40,40)/raw.githubusercontent.com/cshum/imagor/master/testdata/dancing-banana.gif

⁠Documentation

Full documentation is available at docs.imagor.net⁠.

Tag summary

Content type

Image

Digest

sha256:a0d9b19ad…

Size

113.8 MB

Last updated

4 days ago

docker pull shumc/imagor