A multipurpose command-line image processing and tiling utility.
Latest Windows Executable (x86/x64)
Option | Description |
---|---|
-ba --blurAfter |
Blurs input images after resizing |
-bb --blurBefore |
Blurs input images before resizing |
-sa --sharpenAfter |
Sharpens input images after resizing |
-sb --sharpenBefore |
Sharpens input images before resizing |
-ma --medianAfter |
Applies a median filter to input images after resizing |
-mb --medianBefore |
Applies a median filter to input images before resizing |
-fy --flip |
Flip the image about the vertical Y axis |
-fx --flop |
Flop the image about the horizontal X axis |
-fl[#RRGGBB] --flatten[#RRGGBB] |
Merge alpha transparency channel, if any, with a background color (specified in hex). Default color is #000000 |
-
This is a Node.js project, which makes use of the following modules:
- photo-collage
- Note: Using this forked version which utilizes Canvas v2.x instead of v1.x
- node-canvas
- image-type
- is-svg
- read-chunk
- sharp
- photo-collage
-
This project has the following dev dependencies:
- Install the above dependencies. This should be easily done by executing
npm install
from within the project's root folder. - Windows: Execute
npm run build
from within the project's root folder. This should create a binary executable within the same folder. - MacOS/Linux: I'm not sure if nexe can build binaries for you, but you should be able to run the app via
npm run imgpacker.js [args]
. There are also other solutions, such as pkg.