imagex

package
v0.14.1-0...-4724070 Latest Latest
Warning

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

Go to latest
Published: Jul 28, 2016 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrEngineReleased = errors.New("imgry: engine has been released.")
)

Functions

This section is empty.

Types

type Engine

type Engine struct{}

func (Engine) LoadBlob

func (ng Engine) LoadBlob(b []byte) (imgry.Image, error)

func (Engine) LoadFile

func (ng Engine) LoadFile(filename string) (imgry.Image, error)

type Image

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

func (*Image) Clone

func (i *Image) Clone() imgry.Image

func (*Image) Data

func (i *Image) Data() []byte

func (*Image) Format

func (i *Image) Format() string

func (*Image) Height

func (i *Image) Height() uint

func (*Image) Release

func (i *Image) Release()

func (*Image) Released

func (i *Image) Released() bool

func (*Image) SetFormat

func (i *Image) SetFormat(format string) error

func (*Image) SizeIt

func (i *Image) SizeIt(sizing *imgry.Sizing) error

func (*Image) Width

func (i *Image) Width() uint

func (*Image) WriteToFile

func (i *Image) WriteToFile(fn string) error

Jump to

Keyboard shortcuts

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