migrate to vips
This commit is contained in:
parent
d6b38c6866
commit
d81a3a6ab4
11 changed files with 277 additions and 59 deletions
|
|
@ -320,9 +320,9 @@ export function convert(
|
|||
`gm convert "${filePath}" "${targetPath}"`,
|
||||
(error, stdout, stderr) => {
|
||||
if (error) {
|
||||
console.error(`exec error: ${error}`);
|
||||
return;
|
||||
return error;
|
||||
}
|
||||
|
||||
if (stdout) {
|
||||
console.log(`stdout: ${stdout}`);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue