RepositoryTypeScript
jimp-dev

jimp-dev/jimp

Image processing in pure JavaScript for Node.js and the browser, with zero native dependencies.

14.7kstars
788forks
0issues
3views

Featured achievements

The project's latest awards

1
TINIX TRENDING·Topic: jpeg

#1 Repository of the day

1
TINIX TRENDING·Topic: bmp

#1 Repository of the day

1
TINIX TRENDING·Topic: image-processing

#1 Repository of the day

Jimp

JavaScript Image Manipulation Program

An image processing library for Node and the browser written entirely in JavaScript, with zero native dependencies

Documentation · Getting Started · Playground

Installation

npm install jimp

Jimp 2.0 needs Node.js 22 or later.

Usage

import { Jimp } from "jimp";

const image = await Jimp.read("test.png");

image.resize({ w: 256 });

await image.write("test-small.png");

Methods like resize only change the image in memory, so call write (or getBuffer) to save the result. To start from a blank image, use new Jimp({ width, height, color }). To load an image you already have in memory, use await Jimp.fromBuffer(buffer). See Getting Started.

Read the full docs. Upgrading? See the v2 migration guide if you're on 1.x, or the v1 migration guide if you're on v0.

Custom Jimp

If you want to extend jimp or omit types or functions, create a custom Jimp with createJimp from @jimp/core. See the Custom Jimp guide.

  • Add file-types or switch encoder/decoders
  • Add or remove plugins (image manipulation methods)

Contributing

Please read the CONTRIBUTING documentation.

Security

To report a vulnerability, please follow the security policy. Don't open a public issue.

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Andrew Lisowski

💻 🚇 📖 ⚠️

Oliver Moran

💻

strandedcity

💻

Edgar Hipp

💻

Corbin Crutchley

💻

Max G J Panas

💻

Michael Vogt

💻

Marcolino

💻

iwsfg

💻

arlecchino

💻

super-ienien

💻

Bennett Somerville

💻

Florian Barth

💻

Adam Rackis

💻

Aurélio A. Heckert

💻

Daniel Tian

💻

Jeff Bonnes

💻

Russley Shaw

💻

CodeLenny

💻

Sebastian Skałacki

💻

Turan Rustamli

💻

Vlad Turak

💻

ozelot379

💻

Adam Jones

💻

Ahmad Awais ⚡️

💻

Andrei Picus

💻

Andy Chou

💻

Arjun Khoosal

💻

Arman

💻

Autom3

💻

Bernardo Farah

💻

Boon

💻

BrianRosamilia

💻

Carter Bancroft

💻

Chad Banfield

💻

Charaf Salmi

💻

ciffelia

💻

Cody Schrank

💻

Cru Scanlan

💻

Curtis Autery

💻

Dan

💻

Daniel Holmes

💻 ⚠️

Daniel Tschinder

💻

Daniel Kimani

💻

Dara Kong

💻

Denis Bendrikov

💻

Dennis Bartlett

💻

Dominique Rau

💻

Eirik Birkeland

💻

Emily Marigold Klassen

💻

Emmanuel Bourgerie

💻

Endre Szabo

💻

Eric Rabil

💻

Gal Horowitz

💻

GlitchyPSI

💻

Gustavo Ramos Rehermann

💻

Han Kruiger

💻

Igor Borges

💻

Ivan Ganev

💻

Ivan Koprda

💻

iwasawafag

💻

Jake Champion

💻

James Harris

💻

James Ross

💻

Jeremy Katz

💻

Jeroen Claassens

💻

Johannes Goslar

💻

J D Carmichael

💻

John-Robert Yrjölä

💻

Jordan Danford

💻

Joseph

💻

Keith

💻

Keith Mitchell

💻

Kwyn Alice Meagher

💻

Lucy

💻

Marat Nagayev

💻

Marcel Mundl

💻

Mario Adrian

💻

Martin Trobäck

💻

Matt Mc

💻

Max

💻

Maël Nison

💻

Michael Elhadad

💻

Milos Bejda

💻

Mithgol

💻

Nicolas Giard

💻

Nam Bok Rodriguez

💻

Nate Cavanaugh

💻

Nik

💻

Olly Banham

💻

Pasi Eronen

💻

Pavel Volyntsev

💻

Peter Theill

💻

Philip Hannent

💻

Philipp Laube

💻

Rahil Kabani

💻

Rob Moore

💻

Ruben Bridgewater

💻

Sam Broner

💻

Sam MacPherson

💻

Sander Weyens

💻

Shen Yiming

💻

Stefan Lau

💻

Steve Bazyl

💻

Steve Mao

💻

Stuart Hinson

💻

Tom Bull

💻

TonyStr

💻

Laurent

💻

Vincent Dufrasnes

💻

Vladimir Starkov

💻

Vojtěch Štěpančík

💻

William Friesen

💻

Xiliang Chen

💻

Yonggang Luo

💻

austinfrey

💻

brownrw8

💻

Eliott C.

💻

d07RiV

💻

fabb

💻

fratzinger

💻

Guillem Cruz

💻

krudos

💻

mLuby

💻

mfuatnuroglu

💻

Matt Misbach

💻

netdown

💻

nopeless

💻

Oz Weiss

💻

popinguy

💻

qw3n

💻

rifflock

💻

s4tori

💻

sertal70

💻

xinbenlv

💻

xinnix

💻

彭君怡

💻

Andrey Kutejko

📖

Ihor Bodnarchuk

📖

Daniell

💻

MD KHAIRUL ISLAM

⚠️ 💻

JunkMeal

📖

Nicolas Morel

💻

Zach Stevenson

💻

AnotherPillow

📖

Dathan

💻

Juan Pablo Garcia Ripa

📖 🚇 ⚠️ 💻

Ben McCann

💻

Ilyas Landikov

💻

Bishwajeet Parhi

📖

This project follows the all-contributors specification. Contributions of any kind welcome!

Similar Projects

Discover other similar projects and AI models.

RepositoryGo
imgproxy/imgproxy

Fast and secure standalone server for resizing, processing, and converting images on the fly

11.2k
Nov 30, 2026
RepositoryPython
thumbor/thumbor

thumbor is an open-source photo thumbnail service by globo.com

10.5k
Nov 30, 2026
RepositoryC#
SixLabors/ImageSharp

A modern, cross-platform, 2D Graphics library for .NET

8.1k
Dec 1, 2026
RepositoryTypeScript
imagescript/ImageScript

Pure TypeScript image processing that runs everywhere

687
Nov 26, 2026
RepositoryObjective-C
SDWebImage/SDWebImage

Asynchronous image downloader with cache support as a UIImageView category

25.6k
Apr 15, 2026
RepositoryGo
h2non/imaginary

Fast, simple, scalable, Docker-ready HTTP microservice for high-level image processing

6.1k
Nov 8, 2025
RepositoryObjective-C
TimOliver/TOCropViewController

A view controller for iOS that allows users to crop portions of UIImage objects

4.9k
Nov 8, 2026
RepositoryGo
cshum/imagor

Fast, secure image processing server and Go library, using libvips

4.1k
Nov 21, 2026
RepositoryPHP
spatie/image-optimizer

Easily optimize images using PHP

2.9k
Nov 5, 2026