Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func InspectImageTool ¶
Types ¶
type InspectImageArgs ¶
type InspectImageArgs struct {
Path string `json:"path"`
}
type InspectImageOut ¶
type InspectImageOut struct {
Exists bool `json:"exists"`
Width int `json:"width,omitempty"`
Height int `json:"height,omitempty"`
Format string `json:"format,omitempty"`
SizeBytes int64 `json:"sizeBytes,omitempty"`
ModTime *time.Time `json:"modTime,omitempty"`
}
func InspectImage ¶
func InspectImage(ctx context.Context, args InspectImageArgs) (*InspectImageOut, error)
InspectImage inspects an image file and returns its intrinsic metadata.
Click to show internal directories.
Click to hide internal directories.