# we-plugin/we-cropper

微信小程序图片裁剪工具

Repository: https://github.com/we-plugin/we-cropper
Canonical: https://ross.abutalabs.com/products/we-cropper
Homepage: https://we-plugin.github.io/we-cropper/#/
Language: JavaScript
License: MIT
License Family: permissive
Topics: cropper, weapp, canvas, wechat, wxapp, wxcropper, mpvue, wepy, mpvue-examples, mpvue-cropper
Last push: 2023-03-23T12:07:12+00:00

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

## Adoption (not part of the score)
Stars 2203, forks 446 (observed 2026-08-28T04:06:25.775401+00:00)

## What it is
we-cropper is a lightweight, flexible canvas-based image cropper for WeChat mini programs. It can be installed via npm and also provides adapters for frameworks like mpvue and WePY.

## Use cases
- crop images in a wechat mini program
- canvas-based image cropper for weapp
- let users crop avatars in a wxapp
- image cropping component for mpvue
- custom cropper component in wepy
- trim photos before upload in a mini program

## When to choose
- you are building a WeChat mini program and need a small, flexible image cropping UI
- you use mpvue or WePY and want a ready-made cropper component
- you want a canvas-based cropper without heavy dependencies

## When to avoid
- you need image cropping outside WeChat mini programs (web, native mobile)
- you need actively maintained software with recent releases
- you need advanced editing features beyond cropping

## Facets
- artifact type: library
- maturity: maintenance
- function: image-processing, ui-components
- domain: image-processing, mobile-development, frontend
- platform: -
- tags: weapp, cropper, canvas, miniprogram, wxcropper, mpvue, wepy, wechat, javascript

## Member repositories
- we-plugin/we-cropper (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:06:25.775401+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-30T02:47:01.054137+00:00, confidence not recorded.
  - readme: https://github.com/we-plugin/we-cropper (fetched 2026-08-28T04:06:25.775401+00:00, sha e721757d8a64)
  - homepage: https://we-plugin.github.io/we-cropper/#/ (fetched 2026-08-29T10:27:23.743774+00:00, sha 5239e34e081a)
  - registry_npm: https://registry.npmjs.org/we-cropper (fetched 2026-08-29T10:27:23.748775+00:00, sha 67d43c78e08d)
- Data as of 2026-08-30T08:39:29.467469+00:00.
