Documentation
¶
Overview ¶
Package exiftool provides a thin wrapper around ExifTool.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Command ¶
Command runs an ExifTool command with the given arguments and stdin and returns its stdout.
func CommandAsync ¶
func CommandAsync(path, arg1 string, arg ...string) (stdin io.WriteCloser, stdout io.ReadCloser, err error)
Command runs an ExifTool command with the given arguments asynchronously, and returns pipes connected to its stdin and stdout. Writing to stdin and reading from stdout should be done concurrently.
Types ¶
type Server ¶
type Server struct {
// contains filtered or unexported fields
}
Server wraps an instance of ExifTool that can process multiple commands sequentially. Servers avoid the overhead of loading ExifTool for each command. Servers are safe for concurrent use by multiple goroutines.
func (*Server) Close ¶
Close causes ExifTool to exit immediately. Close does not wait until ExifTool has actually exited.