collage_maker

package
v0.0.0-...-34395f8 Latest Latest
Warning

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

Go to latest
Published: Jun 19, 2022 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DrawImageOntoCollage

func DrawImageOntoCollage(row, col, height, width int, subImg image.Image, collage *Collage, wg *sync.WaitGroup)

func GetImagesFromUrls

func GetImagesFromUrls(images *collage_maker_pb.Images) ([]image.Image, error)

func Height

func Height(image image.Image) uint

func Width

func Width(image image.Image) uint

Types

type Collage

type Collage struct {
	// contains filtered or unexported fields
}

func CreateCollage

func CreateCollage(rowNum int, colNum int, images []image.Image, heightOfImage int, widthOfImage int) *Collage

func (*Collage) At

func (c *Collage) At(x, y int) color.Color

func (*Collage) Bounds

func (c *Collage) Bounds() image.Rectangle

func (*Collage) ColorModel

func (c *Collage) ColorModel() color.Model

func (*Collage) Set

func (c *Collage) Set(x, y int, col color.Color)

type Collage_Maker_Server

type Collage_Maker_Server struct {
	collage_maker_pb.UnimplementedImageProcessorServer
}

func (*Collage_Maker_Server) GetCollage

Jump to

Keyboard shortcuts

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