use postprocessed svg
This commit is contained in:
parent
dc8fdda949
commit
3fee69a556
1 changed files with 1 additions and 1 deletions
|
|
@ -186,7 +186,7 @@ func compile(ctx context.Context, ms *xmain.State, plugin d2plugin.Plugin, input
|
|||
}
|
||||
|
||||
if filepath.Ext(outputPath) == ".png" {
|
||||
outputImage, err = png.ExportPNG(ms, page, svg)
|
||||
outputImage, err = png.ExportPNG(ms, page, outputImage)
|
||||
if err != nil {
|
||||
return nil, err
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue