Versions in this module Expand all Collapse all v0 v0.1.0 Dec 2, 2026 Changes in this version + const InvalidArgument + var ErrClosed = errors.New("blitz: context is closed") + type Context struct + func New(workerThreads uint32) (*Context, error) + func (c *Context) Close() + func (c *Context) RenderHTML(markup, baseURL string, opts Options) (*image.RGBA, error) + type Error struct + Code int + Message string + Operation string + func (e *Error) Error() string + type Options struct + BackgroundRGBA uint32 + FitContentHeight bool + Height uint32 + MaxHeight uint32 + NetworkTimeoutMilliseconds uint32 + Scale float32 + Selector string + Width uint32 + func DefaultOptions() Options