Hi Thomas,
the tool doesn't seem to work. I try to run it with:
quick-resize --image="resources/smeba-app-icon-1024.png" --config="assets.config.json"
Output:
░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░░ 0% | ETA: 0s | 0/4
Resizing failed at size 120x120 to destination 'images'
Content of the assets.config.json file:
{
"sizes": [120, 152, 167, 180],
"density": 72
}
Perhaps it might be useful to catch the error and output the error message at
|
.catch(() => { |
|
progress.stop(); |
|
console.log(`Resizing failed at size ${lastFile.width}x${lastFile.height} to destination '${lastFile.destination}'`.red); |
|
}); |
Hi Thomas,
the tool doesn't seem to work. I try to run it with:
quick-resize --image="resources/smeba-app-icon-1024.png" --config="assets.config.json"Output:
Content of the
assets.config.jsonfile:Perhaps it might be useful to catch the error and output the error message at
quick-resize/index.js
Lines 150 to 153 in 67e16bb