png cutter Usage $ npm install png-cutter import { pngCutter } from 'png-cutter'; /** * @param (string) dataUrl Picture URL or Base64 */ const result = await pngCutter(dataUrl); Example: https://shiverzheng.github.io/png-cutter/lib/index.html