awesome-repositories.com
Blog
MCP
awesome-repositories.com

Découvrez les meilleurs dépôts open-source grâce à notre recherche par IA.

ExplorerRecherches sélectionnéesAlternatives open sourceLogiciels auto-hébergésBlogPlan du site
ProjetÀ proposNotre méthodologiePresseServeur MCP
Mentions légalesConfidentialitéConditions d'utilisation
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·
Donaldcwl avatar

Donaldcwl/browser-image-compression

0
View on GitHub↗
1,701 stars·188 forks·JavaScript·MIT·2 vues

Browser Image Compression

Browser image compression is a JavaScript utility designed to reduce image file sizes directly within the web browser. By adjusting dimensions and quality settings locally, the library minimizes bandwidth usage and storage requirements before files are uploaded to a server.

The library maintains interface responsiveness by offloading heavy image manipulation tasks to background worker threads. It manages large image files using memory-efficient binary objects and utilizes the browser canvas application programming interface to re-encode data into formats such as JPEG or WebP.

Users can control the execution of these tasks through asynchronous promise orchestration, which supports the interruption of ongoing compression processes via standard browser signals. This approach ensures that intensive file processing does not block the main browser thread, facilitating fluid interaction during local media optimization.

Features

  • Image Compression - Reduces image file sizes directly in the browser by adjusting dimensions and quality settings before upload.
  • Browser-Based Compression Libraries - Provides a JavaScript utility for reducing image file sizes directly in the browser by adjusting dimensions and quality.
  • Client-Side Image Managers - Reduces image file sizes directly within the web browser before uploading to save bandwidth and storage space.
  • Local Image Workflows - Implements image manipulation workflows that allow users to resize and compress photos locally without a backend server.
  • Canvas-Based Image Processors - Utilizes the browser canvas API to draw and re-encode image data into compressed formats like JPEG or WebP.
  • Client-Side Image Processing - Minimizes bandwidth usage and storage requirements by processing image files locally on the user device.
  • Compression Cancellation - Interrupts ongoing compression tasks using standard controller signals to stop unnecessary processing.
  • Compression Abortions - Provides mechanisms to halt compression operations mid-process using standard browser signals to stop unnecessary work.
  • Promise-Based Task Orchestration - Coordinates multi-step compression workflows using non-blocking promises to manage data flow between the main thread and background workers.
  • Asynchronous Task Management - Handles intensive image compression operations in background worker threads to ensure the user interface remains fluid.
  • Background Processing - Offloads image processing tasks to background threads to maintain interface responsiveness during heavy operations.
  • Binary Data Handling - Manages large image files using memory-efficient binary objects to avoid loading raw data into strings.
  • Background Processing Workers - Offloads heavy image manipulation tasks to background worker threads to keep the main user interface responsive.
  • Browser-Native Image Processors - Offloads heavy image compression tasks to background threads to keep the main browser interface responsive.
  • Web Performance Tuning - Improves page responsiveness by processing heavy image assets locally to prevent blocking the main browser interface.

Historique des stars

Graphique de l'historique des stars pour donaldcwl/browser-image-compressionGraphique de l'historique des stars pour donaldcwl/browser-image-compression

Recherche par IA

Explorez plus de dépôts awesome

Décrivez vos besoins en langage naturel — l'IA classe des milliers de projets open source sélectionnés par pertinence.

Start searching with AI

Collections incluant Browser Image Compression

Sélections manuelles où Browser Image Compression apparaît.
  • Outils de redimensionnement et de compression d'images par lots
  • Image compression tool

Alternatives open source à Browser Image Compression

Projets open source similaires, classés selon le nombre de fonctionnalités partagées avec Browser Image Compression.
  • nodeca/picaAvatar de nodeca

    nodeca/pica

    4,111Voir sur GitHub↗

    Pica is a client-side utility for browser-based image scaling, format transformation, and file optimization. It functions as a canvas image processor that transforms data between canvas elements, bitmaps, and blobs for local manipulation within the web browser. The library distinguishes itself through high-quality downscaling using Lanczos resampling and a multi-threaded processing model. It utilizes web workers to split image processing into tiles across CPU cores to increase resizing speed. The project covers a broad range of image manipulation capabilities, including high-quality scaling

    TypeScriptimageresize
    Voir sur GitHub↗4,111
  • fengyuanchen/compressorjsAvatar de fengyuanchen

    fengyuanchen/compressorjs

    5,749Voir sur GitHub↗

    Compressorjs is a client-side image compression library that reduces file sizes in the browser before upload, using the HTML Canvas API to re-encode images into smaller File or Blob objects. It supports JPEG, PNG, and WebP formats, with configurable quality and dimension controls to balance file size and visual fidelity. The library distinguishes itself through several integrated capabilities. It reads Exif orientation metadata from JPEG images and automatically rotates or flips the canvas to ensure correct display after compression. An AbortController integration allows cancellation of an in

    JavaScriptfile-uploadimage-compressionimage-compressor
    Voir sur GitHub↗5,749
  • jnordberg/gif.jsAvatar de jnordberg

    jnordberg/gif.js

    4,969Voir sur GitHub↗

    gif.js is a JavaScript GIF encoder and client-side color quantizer that generates animated GIF files directly within the web browser. It functions as an HTML5 canvas exporter and image processor, allowing for the creation of animated images from web sources without the need for a backend server. The library utilizes web workers to offload heavy image encoding tasks to background threads, which prevents the browser user interface from freezing during the generation process. This architecture enables the tool to act as a web worker image processor for dynamic image generation. The system cover

    JavaScript
    Voir sur GitHub↗4,969
  • wojtekmaj/react-pdfAvatar de wojtekmaj

    wojtekmaj/react-pdf

    10,920Voir sur GitHub↗

    React-pdf is a library of components designed to integrate document viewing and interaction into web applications. It provides a standardized interface for parsing and displaying portable document format files directly within a browser environment, supporting input from local files, remote web addresses, and encoded data strings. The library renders document content onto HTML5 canvas elements to ensure consistent visual display across browsers. To maintain interface responsiveness during document processing, it offloads parsing tasks to background threads. It also implements a layered approac

    TypeScriptpdfpdf-viewerreact
    Voir sur GitHub↗10,920
Voir les 30 alternatives à Browser Image Compression→

Questions fréquentes

Que fait donaldcwl/browser-image-compression ?

Browser image compression is a JavaScript utility designed to reduce image file sizes directly within the web browser. By adjusting dimensions and quality settings locally, the library minimizes bandwidth usage and storage requirements before files are uploaded to a server.

Quelles sont les fonctionnalités principales de donaldcwl/browser-image-compression ?

Les fonctionnalités principales de donaldcwl/browser-image-compression sont : Image Compression, Browser-Based Compression Libraries, Client-Side Image Managers, Local Image Workflows, Canvas-Based Image Processors, Client-Side Image Processing, Compression Cancellation, Compression Abortions.

Quelles sont les alternatives open-source à donaldcwl/browser-image-compression ?

Les alternatives open-source à donaldcwl/browser-image-compression incluent : nodeca/pica — Pica is a client-side utility for browser-based image scaling, format transformation, and file optimization. It… fengyuanchen/compressorjs — Compressorjs is a client-side image compression library that reduces file sizes in the browser before upload, using… jnordberg/gif.js — gif.js is a JavaScript GIF encoder and client-side color quantizer that generates animated GIF files directly within… wojtekmaj/react-pdf — React-pdf is a library of components designed to integrate document viewing and interaction into web applications. It… azat-co/practicalnode — Practicalnode is a comprehensive educational resource and backend development framework for mastering server-side… kyleduo/tinypng4mac — TinyPNG4Mac is a native macOS image compression client and desktop optimizer. It serves as a wrapper for the TinyPNG…