Skip to content
JS
Package category

Image processing

Resize, convert, compress and analyse images.

416 packages17 comparisons

Packages compared

416 packages
PackageWeekly downloads12-month change52 weeksGzipLast releaseModuleTypesCategories
croppie
A simple javascript image cropper
92.5k+100%-6 years ago
2.6.5
CommonJSNoneImage processing
holderjs
Holder uses SVG to render image placeholders entirely in browser.
89.8k+63%-5 years ago
2.9.9
CommonJSNoneImage processing
@uploadcare/image-shrink
@uploadcare/image-shrink is a browser-based image compression library that shrinks images to a target resolution while preserving aspect ratios, EXIF metadata, and ICC color profiles. Outputs JPEG with configurable quality and automatically switches to PN
89.5k---2 days ago
6.22.0
ESM + CommonJSBundledImage processing
react-image-magnify
A responsive image zoom component designed for shopping sites.
89.2k-12%-7 years ago
2.7.4
ESM + CommonJSNoneReact, Image processing
image2uri
Convert image file to data URI.
88.7k+68%-2 years ago
2.1.2
ESM onlyBundledURLs and query strings, Image processing
react-world-flags
SVG flags of the world for react
86.1k+30%-2 years ago
1.6.0
CommonJSNoneReact, Image processing
openseadragon
Provides a smooth, zoomable user interface for HTML/Javascript.
82.8k+61%-15 days ago
6.1.1
CommonJSBundledImage processing
@oh-my-pi/pi-natives
Native Rust bindings for PDF conversion, audio, WebRTC, grep, clipboard, image processing, syntax highlighting, PTY, and shell operations via N-API
81.6k---1 day ago
18.3.1
ESM onlyBundledCLI tools and terminal utilities, Image processing
image-size-next
Community-maintained fork of image-size: get dimensions of any image file or buffer. Fixes CVE-2025-71329 and CVE-2025-71330 (DoS via infinite loops).
81.3k--1 month ago
2.1.1
ESM + CommonJSBundledImage processing, Security
@bam.tech/react-native-image-resizer
Rescale local images with React Native
78.8k---1 year ago
3.0.11
ESM + CommonJSBundledReact, Image processing
svg-path-commander
🛹 Modern TypeScript tools for SVG
78.1k+788%-23 days ago
2.3.3
ESM onlyBundledTypeScript tooling, Image processing
stylefire
Performant, simplified stylers for CSS, SVG, path and DOM scroll.
77.4k+8%-6 years ago
7.0.3
ESM + CommonJSBundledAnimation, CSS-in-JS and styling
viewerjs
JavaScript image viewer.
76.4k-8%-13 days ago
1.14.0
ESM + CommonJSBundledImage processing
file-type-checker
Detect and validate file types by their signatures (✨magic numbers✨)
74.9k+104%-4 months ago
1.1.7
CommonJSBundledVideo and audio, Schema validation
antd-img-crop
An image cropper for Ant Design Upload
69.9k-5%-6 months ago
4.30.0
ESM + CommonJSBundledImage processing, React
gulp-imagemin
Minify PNG, JPEG, GIF and SVG images
69.7k-1%-10 months ago
9.2.0
ESM onlyNoneImage processing, Node.js utilities
@likashefqet/react-native-image-zoom
A performant zoomable image written in Reanimated v2+ 🚀
69.5k---1 year ago
4.3.0
ESM + CommonJSBundledReact, Image processing
terminal-image
Display images in the terminal
66.9k+482%-2 months ago
5.0.1
ESM onlyBundledCLI tools and terminal utilities, Image processing
rehype-unwrap-images
rehype plugin to remove the wrapping paragraph (`<p>`) for images (`<img>`)
66.3k+276%-1 year ago
1.0.0
ESM onlyBundledMarkdown, Image processing
snapsvg
JavaScript Vector Library
59.4k+12%--
0.5.1
CommonJSNoneImage processing
resize-img
Resize images in memory
57.3k+23%-7 years ago
2.0.0
-NoneImage processing
omniglyph
Context-as-image compression proxy for LLMs: renders bulky context (system prompt, tool docs, history) as dense PNG pages with exact per-provider billing math (Anthropic/OpenAI/Gemini). Node and Cloudflare Workers. Part of the OmniRoute family.
55.8k--1 month ago
1.4.0
ESM onlyBundledImage processing
babel-plugin-react-svg
Babel plugin to transform svg to react component
55.2k-58%-7 years ago
3.0.3
CommonJSNoneBundler plugins and loaders, React
frappe-charts
https://frappe.github.io/charts
54.7k+95%-5 years ago
1.6.2
ESM + CommonJSNoneImage processing
@janhapke/sharp-electron
Electron-safe replacement for sharp on Linux; re-exports the real sharp unmodified everywhere else
54.3k---28 days ago
0.35.4-electron.1
CommonJSBundledImage processing
badge-maker
Shields.io badge library
53.9k+74%-3 months ago
6.0.0
ESM onlyBundledImage processing
wasm-imagemagick
Webassembly compilation of ImageMagick
48.9k+5%-6 years ago
1.2.8
ESM + CommonJSBundledImage processing
@jaames/iro
Modular, design-conscious color picker widget for JavaScript
48.7k---5 years ago
5.5.2
ESM + CommonJSBundledUI component libraries, Image processing
imghash
Image perceptual hash calculation for node
44k+1355%-5 months ago
1.1.4
ESM + CommonJSBundledImage processing, Cryptography and hashing
asciify-image
Convert images to ASCII art without native dependencies
43.5k+4585%-3 years ago
0.1.10
CommonJSBundledImage processing
vue-svg-loader
Use SVG files as Vue Components
43.4k-17%-6 years ago
0.16.0
CommonJSNoneVue, Image processing
@sveltejs/enhanced-img
Image optimization for your Svelte apps
41.8k---3 months ago
0.11.0
ESM onlyBundledSvelte, Image processing
is-image
Check if a file path is an image
41.6k+55%-3 years ago
4.0.0
ESM onlyBundledImage processing
filepond-plugin-image-resize
Image Resize Plugin for FilePond
41.4k+146%--
2.0.10
ESM + CommonJSBundledImage processing
imagetracerjs
raster image tracer and vectorizer, bitmap to SVG converter
40.6k+48%-6 years ago
1.2.6
CommonJSNoneImage processing
vue-filepond
A handy FilePond adapter component for Vue
40.3k+8%-4 months ago
8.0.0
ESM + CommonJSBundledVue, Image processing
fast-blurhash
Fast and tiny js decoder for the Wolt BlurHash algorithm
38.8k+58%-3 months ago
1.2.0
ESM onlyBundledImage processing
@jsquash/oxipng
Wasm png optimiser supporting the browser. Repackaged from Squoosh App.
34.6k---2 years ago
2.3.0
ESM onlyBundledImage processing
tinify
Node.js client for the Tinify API. Tinify compresses your images intelligently. Read more at https://tinify.com.
34.5k+63%-2 months ago
1.8.3
CommonJSBundledImage processing, Compression and archives
svg-to-vue
Utility to convert SVG code into Vue component definition
34k-25%-6 years ago
0.7.0
CommonJSNoneVue, Image processing
@joint/core
JavaScript diagramming library
34k---21 days ago
4.3.3
ESM + CommonJSBundledCharts and data visualisation, TypeScript tooling
svelte-awesome
Font Awesome component for Svelte JS, using inline SVG
33.2k+213%-1 year ago
3.3.5
ESM onlyBundledIcons, Svelte
billboard.js
Re-usable easy interface JavaScript chart library, based on D3 v4+
33k+19%-9 days ago
4.1.0
ESM + CommonJSBundledCharts and data visualisation, Image processing
@maxgraph/core
maxGraph is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.
32.8k---2 months ago
0.24.0
ESM + CommonJSBundledImage processing, DOM and browser utilities
dom-to-svg
Take SVG screenshots of DOM elements
32.2k+350%-5 years ago
0.12.2
ESM onlyNoneDOM and browser utilities, Image processing
@jsquash/resize
Wasm image resize methods supporting the browser and V8 environments. Repackaged from Squoosh App.
31.9k---8 months ago
2.1.1
ESM onlyBundledImage processing
svg-partial-circle
Compute the SVG path of a partial circle.
31k+11%-8 years ago
1.0.0
CommonJSNoneImage processing, Charts and data visualisation
rollup-plugin-svg-import
Import SVG images in javascript file
30.6k-24%-2 years ago
3.0.0
ESM onlyBundledBundler plugins and loaders, Image processing
image-palette
Get palette for any image file, no node-canvas
29.1k+16%-7 years ago
2.1.0
CommonJSNoneImage processing
text-to-svg
Convert text to SVG path without native dependence.
28.9k+208%-7 years ago
3.1.5
CommonJSNoneImage processing

12-month change compares the average of the last 4 weeks of downloads with the first 4 weeks of the 52-week series. Gzip size is for the whole package, as measured by Bundlephobia. "-" means the value has not been fetched.

  • croppieA simple javascript image cropper
  • holderjsHolder uses SVG to render image placeholders entirely in browser.
  • @uploadcare/image-shrink@uploadcare/image-shrink is a browser-based image compression library that shrinks images to a target resolution while preserving aspect ratios, EXIF metadata, and ICC color profiles. Outputs JPEG with configurable quality and automatically switches to PN
  • react-image-magnifyA responsive image zoom component designed for shopping sites.
  • image2uriConvert image file to data URI.
  • react-world-flagsSVG flags of the world for react
  • openseadragonProvides a smooth, zoomable user interface for HTML/Javascript.
  • @oh-my-pi/pi-nativesNative Rust bindings for PDF conversion, audio, WebRTC, grep, clipboard, image processing, syntax highlighting, PTY, and shell operations via N-API
  • image-size-nextCommunity-maintained fork of image-size: get dimensions of any image file or buffer. Fixes CVE-2025-71329 and CVE-2025-71330 (DoS via infinite loops).
  • @bam.tech/react-native-image-resizerRescale local images with React Native
  • svg-path-commander🛹 Modern TypeScript tools for SVG
  • stylefirePerformant, simplified stylers for CSS, SVG, path and DOM scroll.
  • viewerjsJavaScript image viewer.
  • file-type-checkerDetect and validate file types by their signatures (✨magic numbers✨)
  • antd-img-cropAn image cropper for Ant Design Upload
  • gulp-imageminMinify PNG, JPEG, GIF and SVG images
  • @likashefqet/react-native-image-zoomA performant zoomable image written in Reanimated v2+ 🚀
  • terminal-imageDisplay images in the terminal
  • rehype-unwrap-imagesrehype plugin to remove the wrapping paragraph (`<p>`) for images (`<img>`)
  • snapsvgJavaScript Vector Library
  • resize-imgResize images in memory
  • omniglyphContext-as-image compression proxy for LLMs: renders bulky context (system prompt, tool docs, history) as dense PNG pages with exact per-provider billing math (Anthropic/OpenAI/Gemini). Node and Cloudflare Workers. Part of the OmniRoute family.
  • babel-plugin-react-svgBabel plugin to transform svg to react component
  • frappe-chartshttps://frappe.github.io/charts
  • @janhapke/sharp-electronElectron-safe replacement for sharp on Linux; re-exports the real sharp unmodified everywhere else
  • badge-makerShields.io badge library
  • wasm-imagemagickWebassembly compilation of ImageMagick
  • @jaames/iroModular, design-conscious color picker widget for JavaScript
  • imghashImage perceptual hash calculation for node
  • asciify-imageConvert images to ASCII art without native dependencies
  • vue-svg-loaderUse SVG files as Vue Components
  • @sveltejs/enhanced-imgImage optimization for your Svelte apps
  • is-imageCheck if a file path is an image
  • filepond-plugin-image-resizeImage Resize Plugin for FilePond
  • imagetracerjsraster image tracer and vectorizer, bitmap to SVG converter
  • vue-filepondA handy FilePond adapter component for Vue
  • fast-blurhashFast and tiny js decoder for the Wolt BlurHash algorithm
  • @jsquash/oxipngWasm png optimiser supporting the browser. Repackaged from Squoosh App.
  • tinifyNode.js client for the Tinify API. Tinify compresses your images intelligently. Read more at https://tinify.com.
  • svg-to-vueUtility to convert SVG code into Vue component definition
  • @joint/coreJavaScript diagramming library
  • svelte-awesomeFont Awesome component for Svelte JS, using inline SVG
  • billboard.jsRe-usable easy interface JavaScript chart library, based on D3 v4+
  • @maxgraph/coremaxGraph is a fully client side JavaScript diagramming library that uses SVG and HTML for rendering.
  • dom-to-svgTake SVG screenshots of DOM elements
  • @jsquash/resizeWasm image resize methods supporting the browser and V8 environments. Repackaged from Squoosh App.
  • svg-partial-circleCompute the SVG path of a partial circle.
  • rollup-plugin-svg-importImport SVG images in javascript file
  • image-paletteGet palette for any image file, no node-canvas
  • text-to-svgConvert text to SVG path without native dependence.