Node.js processing pictures gm (path). Resize () does not work

clipboard.png

clipboard.png
has no effect at all, and the console does not report errors.
Environment: win10,imageMagick version is 7.0. imageMagick can handle pictures on the command line.
has a god ever done similar functions

Mar.04,2021

var gm = require ('gm');

gm (' / path/to/image.jpg')
.resize (353,257)
.autoOrient ()
.write (writeStream, function (err) {
if (! err) console.log ('hooray!');
});

)
In the example of the

official website, of course you have nothing to write to the file, and this is an asynchronous method.

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b383cf-2c10f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b383cf-2c10f.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?