Minimalistic tool to arrange images in a grid, saving the result as a png image (or sequence of png images).
Usage
java -cp photogrid-1.0.jar tech.rallen.photogrid.Main
This has been tested with OpenJDK 11, and should work with any version of Java from 11 on.
The tool takes 5 optional command line parameters
0 : path of input directory (default is ./testimages).
1 : width (in pixels) of each input image in the output image (default 1000)
2 : height (in pixels) of each input image in the output image (default 1000)
(note the image will be scaled maintaining aspect ratio so it fits within both the width and height above)
3 : number of images per row in the output image(s)
4 : number of images per column in the output image(s)
(default is to make a square with enough rows/columns to fit all the input images in a single output image)
5 : output path and filename, this will be suffixed by either just '.png' or if there is more than one
Features
- photo arranging