Example message context fix

The default size of avatars has been changed to a larger one
This commit is contained in:
Ash
2023-01-26 20:40:43 +04:00
parent e499f6bfb4
commit e63968212c
5 changed files with 4 additions and 4 deletions

View File

@@ -385,7 +385,7 @@ async function charaWrite(img_url, data, name, response = undefined, mes = 'ok')
try {
// Load the image in any format
sharp.cache(false);
var image = await sharp(img_url).resize(170, 234).toFormat('png').toBuffer();
var image = await sharp(img_url).resize(400, 600).toFormat('png').toBuffer();// old 170 234
// Convert the image to PNG format
//const pngImage = image.toFormat('png');