Imagifier lets you build an image using a collection of images as the "new pixels". Transforms every pixel of the source image to an image in wich pixels are made by images of the given collection.
Before | After | Detail |
---|---|---|
mvn package
mvn exec:java -Dexec.mainClass="org.bertolo1988.imagifier.imagifier.Run" -Dexec.args="3 10 C:\dir\path\sample_images C:\another\path\logo.png C:\the\path\fds.jpg"
Arguments must be in the following order:
- Source square side
- Target square side
- Collections directory path
- Source image (must have extension)
- Output image (must have extension)
First two arguments should be numerical. They specify how many pixels from the source image are going to be converted in 1 single collection image in the output. For instance 3 10 means, a square 3x3 will look like a 10x10 in the output image. The other arguments are the collections directory, source image (must have image extension) and the last one is the path where the image should be saved with the corresponding file type.