Update Jimp and add WASM plugins (#3784)

* Update jimp, use WASM format plugins

* Fix Jimp import path in thumbnails endpoint

* Fix size variable

* Add fetch patch to handle file URLs

* Fix JPEG thumbnailing

* Enhance fetch patch to validate file paths and support specific extensions

* Add default msBmp format

* Update jsconfig

* Update JPEG color space in thumbnail generation to YCbCr

* Install jimp plugins explicitly

* Refactor fetch patch utility functions
This commit is contained in:
Cohee
2025-04-01 21:55:21 +03:00
committed by GitHub
parent 70fe5b6e01
commit 058fef1146
10 changed files with 1063 additions and 326 deletions

View File

@ -20,6 +20,7 @@ import bodyParser from 'body-parser';
import open from 'open';
// local library imports
import './src/fetch-patch.js';
import { serverEvents, EVENT_NAMES } from './src/server-events.js';
import { CommandLineParser } from './src/command-line.js';
import { loadPlugins } from './src/plugin-loader.js';