# think2011/localResizeIMG

🔥 前端本地客户端压缩图片，兼容IOS，Android，PC、自动按需加载文件

Repository: https://github.com/think2011/localResizeIMG
Canonical: https://ross.abutalabs.com/products/localresizeimg
Homepage: http://think2011.github.io/localResizeIMG/test/
Language: JavaScript
License Family: other
Topics: compressimage, image, canvas, mobile, compress-images, localresizeimg, frontend, lrz
Archived: true
Last push: 2021-04-16T08:09:58+00:00

## Health v2 (maintenance only)
Score: 10/100 (v2, computed 2026-09-02T17:46:02.011165+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 4042, "days_push": 1965, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: archived, no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 3219, forks 969 (observed 2026-08-28T04:07:49.693043+00:00)

## What it is
localResizeIMG (lrz) is a dependency-free JavaScript library that compresses and resizes images in the browser using canvas before upload, handling device quirks like EXIF orientation and missing JPEG encoders. It loads device-specific files on demand and works on iOS, Android, and desktop browsers (IE10+).

## Use cases
- compress images in the browser before uploading
- resize user-uploaded photos on mobile devices
- fix image rotation issues on iOS and Android
- reduce bandwidth when uploading photos from a web app
- compress images taken with a phone camera client-side
- handle canvas image compression across quirky mobile browsers

## When to choose
- you need client-side image compression for a legacy mobile web app targeting old Android/iOS browsers
- you want a zero-dependency vanilla JS image compressor with AMD/CMD support
- you must handle EXIF orientation and device-specific canvas bugs on older devices

## When to avoid
- starting a new project, since the project is explicitly unmaintained
- you need guaranteed bug-free behavior on modern Android devices, as known issues remain open
- you need a license — the repository has no license file, limiting legal reuse
- server-side or Node.js image compression

## Facets
- artifact type: library
- maturity: abandoned
- function: image-processing, file-upload
- domain: image-processing, frontend, web-development, mobile-development
- platform: browser, cross-platform
- tags: image-compression, canvas, client-side, mobile-web, unmaintained, javascript

## Member repositories
- think2011/localResizeIMG (main) score 10

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:07:49.693043+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T18:44:28.815774+00:00, confidence not recorded.
  - readme: https://github.com/think2011/localResizeIMG (fetched 2026-08-28T04:07:49.693043+00:00, sha 7bdaf2dffe7d)
  - homepage: http://think2011.github.io/localResizeIMG/test/ (fetched 2026-08-29T09:38:08.421510+00:00, sha 82627636fb57)
- Data as of 2026-08-30T08:39:29.467469+00:00.
