compressorjs

JavaScript image compressor. (by fengyuanchen)

Compressorjs Alternatives

Similar projects and alternatives to compressorjs

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a better compressorjs alternative or higher similarity.

compressorjs reviews and mentions

Posts with mentions or reviews of compressorjs. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-12-11.
  • Client-side image compression with Supabase Storage
    4 projects | dev.to | 11 Dec 2022
    After researching a couple of different options, what I landed on was a package called compressorjs written by Chen Fengyuan. This library performs compression and resizing of images in the browser. I was a bit skeptical at first, but it's a cool project and has good browser support. How Compressorjs works is that it uses the HTML5 canvas element to read the original image data and perform lossy transformations to compress and resize the image. There's a whole bunch of transformation options. For my project, what I have found is simply changing the maximum width of the image to 600px and slightly reducing the quality has greatly reduced the file sizes.
  • One Click to Optimize Images, Create Repo and Making Commit
    2 projects | dev.to | 10 Dec 2022
    You can change image quality or pass different options. I set customized mimeType and width by passing option parameter here. You can find more usages from compressor.js original documentation.
  • How to compress images on client-side
    2 projects | dev.to | 12 Apr 2022
    I will use compressorjs, a tiny librarie (3.8 kB minzipped). Compressor.js uses the Browser's native HTMLCanvasElement.toBlob() API to do the compression work, which means it is lossy compression.
  • Compressing images on client side before upload
    4 projects | /r/webdev | 9 Feb 2022
    (I checked out : imagemin, compress.js, compressorjs and some small others)
  • Django CK editor with client side image shrinker
    1 project | /r/djangolearning | 23 Nov 2021
    Django CK editor comes with default image shrinker based on Pillow, But Pillow sucks at image shrinking, A frontend library called compressorjs does 5 times the Image quality with 5 times smaller the size.
  • 12 JavaScript Image Manipulation Libraries For Your Next Web App
    11 projects | dev.to | 9 Jun 2021
    MORE INFO
  • Made a Web App to reduce Image Size by up to 90%, No file Size Limit & Works Offline | compressimage.io
    4 projects | /r/webdev | 29 May 2021
    You don't actually need any web services. Just import the compressorjs library and the UPNG.js library on client side(frontend) and then before uploading the data to server compress the image. These libraries were actually written for frontend compression by their respective owners. https://github.com/photopea/UPNG.js (25kb) https://github.com/fengyuanchen/compressorjs (8kb)
  • A note from our sponsor - WorkOS
    workos.com | 24 Apr 2024
    The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning. Learn more →

Stats

Basic compressorjs repo stats
8
4,969
2.1
11 months ago

fengyuanchen/compressorjs is an open source project licensed under MIT License which is an OSI approved license.

The primary programming language of compressorjs is JavaScript.


Sponsored
Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com