🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪
🔪🔪🔪 __ 💀 GUILLOTINE 💀 __ 🔪🔪🔪
🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪🔪
- 🔍 Hunt Down The Images
- 🔪 Crop/Slice Processable Images
- 📓 Log Unprocessable Images
Install Image Magick:
brew install imagemagick
Install Node.js:
brew install node
- Initialize Project:
npm install
-
Add a
guillotine.config.js
file to your project -
Lastly, dump all your raw images inside
guillotine/assets/input
or in your designatedinputDir
and 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;