Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ImportImageFromReader ¶
func ImportImageFromReader(r io.Reader) (pht *importedphoto.ImportedPhoto, err error)
Types ¶
type ImageImporter ¶
type ImageImporter interface {
//This is a choice I don't like but I needed bufio so I could peek
CanDecode(*bufio.Reader) bool
ImportFromReader(*bufio.Reader) (*importedphoto.ImportedPhoto, error)
Format() imageformat.Format
}
Click to show internal directories.
Click to hide internal directories.