Find Similar Packages for jimp
jimpSimilar Packages:
Npm Package Weekly Downloads Trend
3 Years
🌟 Show real-time usage chart on jimp's README.md, just copy the code below.
## Usage Trend
[![Usage Trend of jimp](https://npm-compare.com/img/npm-trend/THREE_YEARS/jimp.png)](https://npm-compare.com/jimp#timeRange=THREE_YEARS)
Stat Detail
Package
Downloads
Stars
Size
Issues
Publish
License
jimp1,629,294
-4.03 MB-a year agoMIT
README for jimp

Jimp

JavaScript Image Manipulation Program

The "JavaScript Image Manipulation Program" :-)

An image processing library for Node written entirely in JavaScript, with zero native dependencies.

The default jimp configuration.

Supported types:

  • @jimp/jpeg
  • @jimp/png
  • @jimp/bmp
  • @jimp/tiff
  • @jimp/gif

Read the full docs.

Installation

npm install --save jimp

Usage

const { Jimp } = require("jimp");

// open a file called "lenna.png"
const image = await Jimp.read("test.png");

image.resize(256, 256); // resize

await image.write("test-small.jpg"); // save