jimp
An image processing library written entirely in JavaScript.

jimp downloads jimp version

jimp類似套件:
npm下載趨勢
3 年
🌟 在 jimp 的 README.md 中顯示即時使用量圖表,只需複製下面的代碼。
## 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)
🌟 在 jimp 的 README.md 中顯示 GitHub stars 趨勢圖表,只需複製下面的代碼。
## GitHub Stars Trend
[![GitHub Stars Trend of jimp](https://npm-compare.com/img/github-trend/jimp.png)](https://npm-compare.com/jimp)
統計詳情
套件
下載數
Stars
大小
Issues
發布時間
許可
jimp1,634,797-4.03 MB-1 年前MIT
jimp 的 README

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