README ¶ go-svg Opinionated Go package for working with SVG files with a focus on rasterization. Documentation Documentation is incomplete. This is still a work in progress. Expand ▾ Collapse ▴ Documentation ¶ Index ¶ func Rasterize(ctx context.Context, r io.Reader) (image.Image, error) func RasterizeAsPNG(ctx context.Context, r io.Reader, wr io.Writer) error Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Rasterize ¶ func Rasterize(ctx context.Context, r io.Reader) (image.Image, error) func RasterizeAsPNG ¶ func RasterizeAsPNG(ctx context.Context, r io.Reader, wr io.Writer) error Types ¶ This section is empty. Source Files ¶ View all Source files raster.go Directories ¶ Show internal Expand all Path Synopsis cmd svg2img Click to show internal directories. Click to hide internal directories.