Skip to content

bertolo1988/imagifier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Codacy Badge

imagifier

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

Compile

mvn package

Run

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

Arguments must be in the following order:

  1. Source square side
  2. Target square side
  3. Collections directory path
  4. Source image (must have extension)
  5. 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.