mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
webp filter + packages
This commit is contained in:
@@ -81,7 +81,7 @@ async function charaWrite(img_url, data, target_img, response = undefined, mes =
|
||||
|
||||
|
||||
const p = process.argv[2]
|
||||
const files = fs.readdirSync(p).filter()
|
||||
const files = fs.readdirSync(p).filter(e => e.endsWith(".webp"))
|
||||
|
||||
const dst = "characters"
|
||||
|
||||
|
@@ -1,6 +1,10 @@
|
||||
{
|
||||
"dependencies": {
|
||||
"webp-converter": "^2.3.3",
|
||||
"exifreader": "^4.12.0"
|
||||
"exifreader": "^4.12.0",
|
||||
"jimp": "^0.22.7",
|
||||
"png-chunk-text": "^1.0.0",
|
||||
"png-chunks-encode": "^1.0.0",
|
||||
"png-chunks-extract": "^1.0.0",
|
||||
"webp-converter": "^2.3.3"
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user