jimp

An image processing library written entirely in JavaScript.

MIT 282 个版本
安装
npm install jimp
yarn add jimp
pnpm add jimp
bun add 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
版本列表
1.6.1 2026-04-07
1.6.0 2024-09-09
1.4.0 2024-09-07
1.3.0 2024-09-04
1.2.0 2024-09-03
1.1.5 2024-09-02
1.1.4 2024-09-02
1.1.3 2024-09-02
1.1.2 2024-09-02
1.1.1 2024-09-02
1.1.0 2024-09-01
1.0.5 2024-09-01
1.0.4 2024-09-01
1.0.3 2024-09-01
1.0.2 2024-08-31
0.22.12 2024-02-23
0.22.11 2024-02-23
0.22.10 2023-07-26
0.22.9 2023-07-26
0.22.8 2023-05-11
0.22.7 2023-02-25
0.22.6 2023-02-24
0.22.5 2023-02-21
0.22.4 2023-02-07
0.22.3 2023-02-06
0.22.2 2023-02-06
0.22.1 2023-02-06
0.22.0 2023-02-06
0.21.3 2023-02-05
0.21.2 2023-02-05
0.21.1 2023-02-05
0.21.0 2023-02-05
0.20.2 2023-02-05
0.20.1 2023-02-05
0.20.0 2023-02-05
0.19.0 2023-02-05
0.18.0 2023-02-05
0.17.10 2023-02-04
0.17.9 2023-02-04
0.17.8 2023-02-04
0.17.7 2023-02-04
0.17.6 2023-02-04
0.17.5 2023-02-04
0.17.4 2023-02-04
0.17.3 2023-02-04
0.17.2 2023-02-04
0.17.1 2023-02-04
0.17.0 2023-02-04
0.16.13 2023-02-04
0.16.12 2023-02-04
0.16.11 2023-02-04
0.16.10 2023-02-04
0.16.9 2023-02-04
0.16.8 2023-02-04
0.16.7 2023-02-04
0.16.6 2023-02-04
0.16.5 2023-02-04
0.16.4 2023-02-04
0.16.3 2023-02-04
0.16.2 2022-09-15
0.16.1 2020-08-28
0.16.0 2020-08-08
0.15.0 2020-08-07
0.14.0 2020-06-29
0.13.0 2020-06-05
0.12.1 2020-05-19
0.12.0 2020-05-17
0.11.0 2020-05-15
0.10.3 2020-04-20
0.10.2 2020-04-14
0.10.1 2020-04-05
0.10.0 2020-03-30
0.9.8 2020-03-28
0.9.7 2020-03-27
0.9.6 2020-03-18
0.9.5 2020-03-03
0.9.4 2020-03-03
0.9.3 2019-11-26
0.9.1 2019-11-26
0.9.0 2019-11-26
0.8.5 2019-10-18
0.8.4 2019-09-20
0.8.3 2019-09-18
0.8.2 2019-09-13
0.8.1 2019-09-12
0.8.0 2019-09-07
0.7.0 2019-09-06
0.6.8 2019-09-03
0.6.7 2019-09-03
0.6.6 2019-09-03
0.6.5 2019-09-03
0.6.4 2019-04-27
0.6.3 2019-04-27
0.6.2 2019-04-27
0.6.1 2019-03-28
0.6.0 2018-11-28
0.5.6 2018-10-26
0.5.5 2018-10-26
0.5.4 2018-10-12
0.5.3 2018-09-23
0.5.2 2018-09-23
0.5.1 2018-09-23
0.5.0 2018-09-15
0.4.0 2018-09-02
0.3.11 2018-08-30
0.3.10 2018-08-30
0.3.9-alpha.0 2018-08-28
0.3.9 2018-08-28
0.3.8 2018-08-27
0.3.7 2018-08-26
0.3.6-alpha.6 2018-08-26
0.3.6-alpha.5 2018-08-26
0.3.5 2018-08-11
0.3.4 2018-08-11
0.3.3 2018-08-10
0.3.2 2018-08-03
0.3.1 2018-08-02
0.2.28 2017-05-21
0.2.27 2016-08-12
0.2.26 2016-08-11
0.2.25 2016-08-10
0.2.24 2016-04-27
0.2.23 2016-04-27
0.2.22 2016-04-21
0.2.21 2015-12-12
0.2.20 2015-12-01
0.2.19 2015-11-09
0.2.18 2015-11-09
0.2.17 2015-11-09
0.2.16 2015-11-09
0.2.15 2015-11-06
0.2.14 2015-11-05
0.2.13 2015-11-02
0.2.12 2015-11-02
0.2.11 2015-11-02
0.2.10 2015-10-31
0.2.9 2015-10-13
0.2.8 2015-10-06
0.2.7 2015-09-27
0.2.5 2015-08-29
0.2.4 2015-05-24
0.2.3 2015-05-04
0.2.2 2015-05-03
0.2.1 2015-05-03
0.2.0 2015-05-03
0.1.4 2015-01-19
0.1.3 2015-01-17
0.1.2 2015-01-17
0.1.1 2014-09-14
0.1.0 2014-09-13