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