Skip to content

fajrulaulia/go-pdf2svg

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-pdf2svg

Go

go-pdf2svg is a Go package for convert PDF to SVG and use for Web and Easy to use it. SVG is best for high quality for web.

Installation

This package required inkscape

# apt install inkscape # debian, Ubuntu
# dnf install inkscape # Fedora, Redhat

Usage

package main

import (
	"log"
	c "github.com/fajrulaulia/go-pdf2svg"
)

func main() {
	err := c.Exporter("DirOfFilePDF.pdf", "newSvgFile")
	if err != nil {
		log.Fatal(err)
		return
	}
}

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License

MIT

Author

FAJRUL AULUA

About

Tool converter PDF to SVG using golang and lib inkscape

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages