#image-compression #image-server #image-manipulation #imagemagick #server #lib #tools #web #bin #tool

bin+lib imazen/imageflow_server

High-performance image manipulation for web servers. Includes imageflow_server, imageflow_tool, and libimageflow

30 releases

2.0.0-preview2 Nov 21, 2022
1.7.3-rc67 Aug 4, 2022
1.7.1-rc65 Jun 9, 2022
1.5.8-rc62 Mar 29, 2021
1.4.10-rc50 Jul 5, 2020

#500 in Development tools

3,855 stars & 71 watchers

60KB
1K SLoC

imageflow_server

If you're compiling, use cargo run --bin imageflow_server instead of imageflow_server.

Currently we have 4 mount providers:

  • ir4_http - ImageResizer4 compatible querystring API, pulling originals from a remote server

  • ir4_local - ImageResizer4 compatible querystring API, pulling from disk

  • static - static file server

  • permacache_proxy - static file proxy with permanent caching (no invalidation, ever)

  • imageflow_server start --demo

  • imageflow_server start --port 80 --data-dir=./imageflow_data --mount /ir4/local/:ir4_local:./img/ --mount /ir4/remote/:ir4_http:http:://remote.com/img/ --mount

  • imageflow_server start --port 80 --data-dir=./imageflow_data --mount /js/:static:./js --mount /proxy_asis/:permacache_proxy:http:://remote.com/static/:360

  • imageflow_server diagnose --show-compilation-info

http://localhost:3004/ir4/proxy_unsplash/photo-1422493757035-1e5e03968f95?width=600

Dependencies

~13–22MB
~450K SLoC