Skip to content

a golang library to merge image files horizontally or vertically

Notifications You must be signed in to change notification settings

kumakichi/merge-images

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About

https://godoc.org/github.com/kumakichi/merge-images?status.png

A Go lib to merge image files(jpeg, png, gif, bmp) in horizontally or vertically.

The merged image file will use the maxium width and height of the original files.

You should set background color(eg. color.White) by calling:

merge_images.SetBackgroundColor(color.White)

Or, you will get merged image like below:

So, ./images/100.png + ./images/frontpage.png = ./images/h.png (horizontally)

and ./images/100.png + ./images/frontpage.png = ./images/v.png (vertically)

After setting background color(here, it is color.White), merged file will look like below:

./images/100.png + ./images/frontpage.png = ./images/bh.png (horizontally)

./images/100.png + ./images/frontpage.png = ./images/bv.png (vertically)

About

a golang library to merge image files horizontally or vertically

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages