DEV Community

Kashif Raza
Kashif Raza

Posted on

Working with awesome tool oi.flyimg.io Fetch an image from anywhere; resize compress cache and serve...

Flyimg: Working with awesome tool oi.flyimg.io, Fetch an image from anywhere; resize, compress, cache and serve... and serve, and serve...

Features:
Get images from anywhere in the internet and store them locally for further operations.
Resize an image and serve it compressed (Jpeg for JPEGs)
Crop images to given coordinates
Convert between some formats (Webp, JPEG, PNG, GIF)
It can restrict the domains or IPs from where it pulls images to transform.
It's a bunch of well know open source projects packed together for convenience.
It includes face detection, cropping, face blurring, image rotation and many other options.
Simple and easy to extend (our main goal).

Face detection cropping:
https://oi.flyimg.io/upload/fc_1/https://oi.flyimg.io/faces.jpg

Face detection blurring + resize:
https://oi.flyimg.io/upload/fb_1,w_600/https://oi.flyimg.io/faces.jpg

Discussion (0)