Mergi  

 
 

GO API for Advanced Image Manipulation

Open Source Go library to programmatically merge, crop, and resize images. You can add watermarks and animation to images inside your own apps.

Mergi is a powerful go library that provides the capability to process images programmatically using GO language.  The library is well-organized and can be easily integrated to perform numerous operations with just a couple of lines of Go code.  The library is freely available under MIT license and can be used inside your projects with ease.

The open source Mergi library has included complete support for several important image processing features such as merging images, image cropping support, resizing images, add watermarks to your images, image animation facility, easing images, add transition to images, and many more.

Previous Next

Getting Started with Mergi

The easiest way to install Mergi is by using via GitHub. Please use the following command for a smooth installation

Install Mergi via GitHub.

$ go get github.com/noelyahan/mergi 

Animate Images via Go API

The open source Mergi library gives software developers the power to animate any given image array result inside their own GO applications. You need to provide the correct path of the image or URL of the file path. Then you need to pass the Images to an array and apply delay according to your need. In the end, you can export the final result via an animation exporter to get the resultant GIF file.

Image Cropping via Go API

A perfect picture can speak a thousand words. Image cropping is the removal of an unwanted area of an image to create a focus or strengthen the image. The Mergi library enables software programmers to crop their images inside their own Go applications. The developer needs to provide custom width and height of the required image and location.

Watermarks Addition to Images

The free Mergi library gives software programmers the capability to programmatically insert watermarks to image inside their Go applications with ease. By using the Watermarking feature we can easily protect our images from unauthorized copies creation and distribution. The library supports placing a logo as well as text watermarks using a couple of lines of Go code. The watermarks can be placed at any selected position of your choice as well as with the opacity of your choice.

Image Merging Support

The Mergi library facilitates developers to combine multiple images to a single image according to their needs using Go programming commands. The library supports merging multiple images according to given templates. It supports horizontal merging and vertical merging facilities. To combine two images you need to provide an image path or correct URL and after that, you can select a template to merge the images horizontally or vertically.