Replace sharp with wasm-vips for image processing

Fixes #696

- Replaced sharp dependency with wasm-vips (WebAssembly build of libvips)
- Eliminates native build requirements that caused installation failures
- Added vips.ts singleton wrapper for async initialization
- Updated image-resize.ts and image-convert.ts to use wasm-vips API
- Added unit tests for image processing functionality
This commit is contained in:
Mario Zechner 2026-01-13 18:33:27 +01:00
parent 09d409cc92
commit e45fc5f91b
7 changed files with 273 additions and 547 deletions

View file

@ -51,7 +51,7 @@
"marked": "^15.0.12",
"minimatch": "^10.1.1",
"proper-lockfile": "^4.1.2",
"sharp": "^0.34.2"
"wasm-vips": "^0.0.16"
},
"devDependencies": {
"@types/diff": "^7.0.2",