package
0.0.0-20250209140343-015076d8ff76
Repository: https://github.com/tdewolff/canvas.git
Documentation: pkg.go.dev

# Packages

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author

# Functions

AVIF returns a AVIF writer that uses libaom and accepts the following options: canvas.Resolution, canvas.Colorspace, github.com/Kagami/go-avif.*Options.
BMP returns a BMP writer and accepts the following options: canvas.Resolution, canvas.Colorspace.
EPS returns a Encapsulated PostScript writer and accepts the following options: canvas/renderers/ps.*Options.
GIF returns a GIF writer and accepts the following options: canvas.Resolution, canvas.Colorspace, image/gif.*Options.
JPEG returns a JPEG writer and accepts the following options: canvas.Resolution, canvas.Colorspace, image/jpeg.*Options.
NewGoChart returns a new github.com/wcharczuk/go-chart renderer.
NewGonumPlot returns a new github.com/gonum/plot/vg renderer.
PDF returns a PDF writer and accepts the following options: canvas/renderers/pdf.*Options.
PNG returns a PNG writer and accepts the following options: canvas.Resolution, canvas.Colorspace, image/png.Encoder.
PS returns a PostScript writer and accepts the following options: canvas/renderers/ps.*Options.
SVG returns an SVG writer and accepts the following options: canvas/renderers/svg.*Options.
SVGZ returns a GZIP compressed SVG writer and accepts the following options: canvas/renderers/svgsvg.*Options.
TeX returns a TeX writer.
TIFF returns a TIFF writer and accepts the following options: canvas.Resolution, canvas.Colorspace, golang.org/x/image/tiff.*Options.
WebP returns a Webp writer that uses libwebp and accepts the following options: canvas.Resolution, canvas.Colorspace, github.com/kolesa-team/go-webp/encoder.*Options.
Write renders the canvas and writes to a file.

# Structs

GoChart is a github.com/wcharczuk/go-chart renderer.
GonumPlot is a github.com/gonum/plot/vg renderer.