Skip to content

Instantly share code, notes, and snippets.

@SantoshSrinivas79
Last active August 29, 2015 14:23
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save SantoshSrinivas79/9ff962e3ad29af76534a to your computer and use it in GitHub Desktop.
Save SantoshSrinivas79/9ff962e3ad29af76534a to your computer and use it in GitHub Desktop.
Resizing Images in nodeJS

Resizing Images in nodeJS

Sharp

Resize images using lovell/sharp

Installation

sudo apt-get install pkg-config
curl -s https://raw.githubusercontent.com/lovell/sharp/master/preinstall.sh | sudo bash -
npm install sharp --save

easyimage

Resize images using hacksparrow/node-easyimage

gm

Resize images using aheckmann/gm that leverage graphicsmagick

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment