Skip to content

Image processing API. Resize & compress images from URL parameters only.

Notifications You must be signed in to change notification settings

hicodersofficial/image_processing_api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Image processing API

Resize & compress image from URL. You can use this API to create different sizes of images.

$ npm install

Starting App

$ node index.js

After starting navigate to http://localhost:5000

Query Parameter

?q={quality <=100 (Default: 60)}
?s={image size}
?w={width}
?h={height}
?fit={contain, cover, fill, outside, inside}
?bg={Background color for cropped area}
http://localhost:5000/public/{filename}?q=90&s=200&fit=inside

Screenshots

Original (1.5 MB)    |   Compressed (75 KB)

Original (3 MB)    |   Compressed (12 KB)


Thank You! ❣️

About

Image processing API. Resize & compress images from URL parameters only.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published