Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PhotoEngine ¶
PhotoEngine reads what photos say about themselves through the WittyPhotos version in use, calls on its service (module API 5: read, dimensions, preview, each given the file's path). With none, a scan carries on and the photos have only what their files say on the outside. It is library.PhotoEngine.
func (PhotoEngine) Dimensions ¶
func (p PhotoEngine) Dimensions(path string) (w, h int)
Dimensions reads a picture's size from its header.
func (PhotoEngine) IsRaw ¶
func (p PhotoEngine) IsRaw(name string) bool
IsRaw knows the formats the version in use lists in its signed manifest, so scanning a folder never has to start a helper.
func (PhotoEngine) RawPreview ¶
func (p PhotoEngine) RawPreview(path string) ([]byte, error)
RawPreview returns the JPEG a camera stored in a RAW file.
Click to show internal directories.
Click to hide internal directories.