poster is a command line tool that allows you to merge more images in one. Given a source folder containing the images, the program resizes all the images at the same dimension (default is 120x90) and calculates the disposition of the images in a rectangle. If the number of the images is a prime number, and one of the image can not fit into a rectangle, the tool will skip one images, until the total number of the images will fit into a rectangle.
Simply run poster in the folder containing your images. If you run poster -h the default options will be displayed
Usageof poster:
-dest_dir=".": thedestinationdirectorythatwillcontainthegrid-log_file="stdout": specifyalogfile, asdefaultitwillprintonstdout-source_dir=".": theorigindirectorythatcontainstheimagestocomposethegrid-thumb_height=90: theheightofasinglethumb-thumb_width=120: thewidthofasinglethumbTo specify a different source directory as the current direcotry, a different destination directory as the current one, and a logfile, do as follow.
poster -dest_dir=/home/username/dest -source_dir=/home/username/source -log_file=/home/username/my.log
##Installation
Assuming that you have the go toolchain installed, download the package with go get github.com/edap/poster and install it moving in the downloaded folder and running go install.
provide log optiondone- Support multiple image formats, .gif, .png, and not only jpeg
- Use goroutine during the canvas creation
- Provide batch resize command, without merge
- Aspect ratio option, 4/3 and 16/9

