Documentation ¶
Overview ¶
Simple Go package for encoding and decoding images directly from and to file paths.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var LogSink io.Writer
Instance of an io.Writer implementation which will be used for logging. By default, this will be initialized as io.Discard, but can be set to any desired io.Writer implementation. This is designed to NOT be a logger instance, because the package user might be using a logging library which does not offer drop-in replacement of the log standard package.
Functions ¶
func ParseFileType ¶
Parses a file's file type from its name or path. Returns an empty string if filePath does not contain a file type extension.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.