Stitcher

package module
v0.0.0-...-264e727 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 1, 2013 License: Apache-2.0 Imports: 12 Imported by: 0

README

Stitcher

An application which takes in images or URLs and stitches them together.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CropCenter

func CropCenter(sourceImage image.Image) image.Image

func CropFromBottom

func CropFromBottom(sourceImage image.Image) image.Image

func CropFromTop

func CropFromTop(sourceImage image.Image) image.Image

func DownloadImage

func DownloadImage(url string) image.Image

func StitchImages

func StitchImages(images []image.Image) image.Image

func StitcherHandler

func StitcherHandler(rw http.ResponseWriter, req *http.Request)

Types

type IncomingRequest

type IncomingRequest struct {
	ImageURLs []string `json:"urls"`
	Rows      int      `json:"rows"`
	Columns   int      `json:"columns"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL