Versions in this module Expand all Collapse all v0 v0.1.0 Apr 2, 2022 Changes in this version + var ErrUnsupportedImageFormat = errors.New("unsupported image format") + type ImageFormat string + const JPEGImageFormat + const PNGImageFormat + const WebPImageFormat + func ParseImageFormat(text string) (ImageFormat, error) + func (f *ImageFormat) UnmarshalText(text []byte) (err error) + func (f ImageFormat) ContentType() string + func (f ImageFormat) Extension() string + func (f ImageFormat) IsValid() bool + type ScreenshotOptions struct + Delay int + Format ImageFormat + Fullpage bool + Height int + Quality int + Scale int + URL string + Width int + func (so ScreenshotOptions) Hash() (string, error)