img

package
v0.1.4 Latest Latest
Warning

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

Go to latest
Published: Nov 26, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Copyright 2023 Christopher Briscoe. All rights reserved.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func OpenImage

func OpenImage(r io.Reader) (image.Image, error)

OpenImage reads an image from an io.Reader and returns an image object

func ScaleImage

func ScaleImage(src image.Image, rect image.Rectangle) image.Image

ScaleImage rescales an image given an image rectagle and returns rescaled image object

Types

This section is empty.

Jump to

Keyboard shortcuts

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