A Java library for creating photo collages from individual images. A example is here:
https://github.com/spudtrooper/photocollage-java/stella-head-200w25xh25-out.png
To build:
To build a runnable jar in target/photocollage-VERSION-runnable.jar
:
mvn assembly:assembly
Then you can run the main class with:
java -jar target/photocollage-VERSION-runnable.jar
The main class is com.jeffpalm.photocollage.PhotoCollageMain, and its usage is
java com.jeffpalm.photocollage.PhotoCollageMain inputImage sourceImage+ [option+]
where options include:
--help Print the help message --outdir dir Output images to dir --rows num Split up the output into num rows (Defaults to 1) --cols num Split up the output into num columns (Defaults to 1) --width num Resize the input image to num (Defaults to 200px) --smallwidth num Use images of width num for the pixels (Defaults to 50px) --smallheight num Use images of height num for the pixels (Defaults to 50px)
This will read inputImage and create an output image (whose name depends on the options) form the input images sourceImages.
By default, a single output image is created. If you want to split the output into multiple images use the --rows or --cols option.