importedphoto

package
v0.0.0-...-f1991a8 Latest Latest
Warning

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

Go to latest
Published: May 13, 2020 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ImportedImage

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

func NewImportedImage

func NewImportedImage(data []byte, height, width uint64, format imageformat.Format) (imImg *ImportedImage, err error)

func (*ImportedImage) GetData

func (this *ImportedImage) GetData() io.Reader

func (*ImportedImage) GetFormat

func (this *ImportedImage) GetFormat() imageformat.Format

func (*ImportedImage) GetHeight

func (this *ImportedImage) GetHeight() uint64

func (*ImportedImage) GetSize

func (this *ImportedImage) GetSize() uint64

func (*ImportedImage) GetWidth

func (this *ImportedImage) GetWidth() uint64

type ImportedPhoto

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

func NewImportedPhoto

func NewImportedPhoto(hash string, timeTaken time.Time, original, master *ImportedImage) (imPht *ImportedPhoto, err error)

func (*ImportedPhoto) GetHash

func (this *ImportedPhoto) GetHash() string

func (*ImportedPhoto) GetMaster

func (this *ImportedPhoto) GetMaster() *ImportedImage

func (*ImportedPhoto) GetOriginal

func (this *ImportedPhoto) GetOriginal() *ImportedImage

func (*ImportedPhoto) GetTimeTaken

func (this *ImportedPhoto) GetTimeTaken() time.Time

Jump to

Keyboard shortcuts

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