Skip to content

ryandao/go-mosaic

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

go-mosaic

A library for creating a photo mosaic from a target photo and a number of "tile" images.

Installation

go get github.com/ryandao/gomosaic

Example usage

import "github.com/ryandao/gomosaic"
import "image/jpeg"

result, _ := gomosaic.Mosaic(target, seeds, sqSize)

// Save output image to file
out, _ := os.Create("./output.jpg")
err = jpeg.Encode(out, output, &jpeg.Options{Quality: 80})

About

Library to create photo mosaics in Golang

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages