🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪
🔪🔪🔪 __ 💀 GUILLOTINE 💀 __ 🔪🔪🔪
🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪
- 🔍 Hunt Down The Images
- 🔪 Crop/Slice Processable Images
- 📓 Log Unprocessable Images
Install Image Magick:
brew install imagemagickInstall Node.js:
brew install node- Initialize Project:
npm install-
Add a
guillotine.config.jsfile to your project -
Lastly, dump all your raw images inside
guillotine/assets/inputor in your designatedinputDirand run:
npm run guillotine// guillotine.config.js
//
const config = {
inputDir: 'guillotine/assets/input',
outputDir: 'guillotine/assets/output',
logsDir: 'guillotine/logs',
logFile: 'logs.txt',
prefix: '',
suffix: '',
allow: {},
ignore: [],
};
module.exports = config;