Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- this._sendStatus(7);
- let imagemagick1 = await imConvert(buff, '-quality 100 -contrast -contrast -resize 50%', false, false, 'jpg');
- this._sendStatus();
- let imagemagick2 = await imConvert(imagemagick1, '-colorspace Gray -blur 0x.7 -negate -edge 3 -negate -threshold 40% -blur 0x.5', false, false, 'jpg');
- this._sendStatus();
- let finalPng = await imConvert(imagemagick2, '-fuzz 20%', false, false, 'png');
- this._sendStatus();
- finalPng = await fxPreset.getSwap(finalPng);
- this._sendStatus();
- let imagemagick3 = await imConvert(finalPng, `-contrast`, false, false, 'jpg');
- this._sendStatus();
- buff = await imConvert(imagemagick3, `-colorspace RGB +repage -quality 100 -resize 200%`, false, false, 'jpg');
- this._sendStatus();
- return buff;
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement