I am so, incredibly stupid
fixed swings not generating
This commit is contained in:
parent
16131bd26f
commit
c160395ef4
1 changed files with 1 additions and 1 deletions
|
@ -276,7 +276,7 @@ module.exports = async (app, req, res) => {
|
|||
|
||||
function finish(img) {
|
||||
img.autocrop(0.01, false)
|
||||
if (form == "swing") b.resize(120, 111)
|
||||
if (form == "swing") img.resize(120, 111)
|
||||
if (img.bitmap.height == 300) ic.autocrop(1, false)
|
||||
if (sizeParam) {
|
||||
let imgSize = Math.round(req.query.size)
|
||||
|
|
Loading…
Add table
Reference in a new issue