Documentation ¶
Index ¶
- func AspectRatio(img image.Image) image.Point
- func ConvertTiles(imageAspectRatio, tileAspectRatio image.Point, targetTileCount int) image.Point
- func LogTime(s string) func()
- func MinTiles(imageAspectRatio image.Point, tileAspectRatio image.Point) image.Point
- func NearestSaneAspectRatio(aspectRatio image.Point) image.Point
- func ParseAspectRatioString(aspectRatio string) (image.Point, error)
- func Paste(dst, src *image.NRGBA, loc image.Point, blend float64) error
- type Limiter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AspectRatio ¶
AspectRatio calculates the minimal aspect ratio of the given image
func ConvertTiles ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.