Increased sharpen effectiveness
This commit is contained in:
parent
6e7dcc679f
commit
8dbf0a3396
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ exports.run = async (message) => {
|
|||
message.channel.sendTyping();
|
||||
const image = await require("../utils/imagedetect.js")(message);
|
||||
if (image === undefined) return `${message.author.mention}, you need to provide an image to sharpen!`;
|
||||
const buffer = await gm(image.path).coalesce().sharpen(10).bufferPromise(image.type, image.delay);
|
||||
const buffer = await gm(image.path).coalesce().sharpen(10, 3).bufferPromise(image.type, image.delay);
|
||||
return {
|
||||
file: buffer,
|
||||
name: `sharpen.${image.type}`
|
||||
|
|
Loading…
Reference in a new issue