imgtools

package
v0.0.0-...-a03ee57 Latest Latest
Warning

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

Go to latest
Published: Jul 10, 2023 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CropIntoCirlce

func CropIntoCirlce(src *image.Image, radius int) *image.RGBA

func MakeIcon

func MakeIcon(RawSVG *[]byte) (*image.RGBA, error)

func RawSVGToPNGImage

func RawSVGToPNGImage(svg []byte, size int) (image.Image, error)

func SavePNG

func SavePNG(img image.Image, path string, name string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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