gg
github.com/mrsaints/go-ghostscript
go get github.com/mrsaints/go-ghostscript
gg

github.com/mrsaints/go-ghostscript

Idiomatic Go bindings for Ghostscript Interpreter C API.

go get github.com/mrsaints/go-ghostscript
Readme

go-ghostscript

GoDoc

Simple, and idiomatic Go bindings for Ghostscript Interpreter C API.

Idiomatic is italicised because no true Go code should include cgo. Ironic, I know.

Ghostscript is a suite of software based on an interpreter for Adobe Systems' PostScript and Portable Document Format (PDF) page description languages. Its main purposes are the rasterization or rendering of such page description language files, for the display or printing of document pages, and the conversion between PostScript and PDF files. - Wikipedia

I would not recommend using this on production. I only worked on it to experiment with cgo, and I do not plan on maintaining it very often. Contributions are nevertheless, welcomed.

Dependencies

To build, and run the package, you must have libgs-dev installed.

On Debian systems, this can be achieved using apt-get install libgs-dev.

Usage

  1. Download, and install go-ghostscript/ghostscript:

    go get github.com/MrSaints/go-ghostscript/ghostscript
    
  2. Import the package into your code:

    import "github.com/MrSaints/go-ghostscript/ghostscript"
    

View the GoDoc, examples or code for more information.

GitHub Stars

12

LAST COMMIT

6yrs ago

MAINTAINERS

0

CONTRIBUTORS

1

OPEN ISSUES

2

OPEN PRs

1
VersionTagPublished
v0.0.0-20160731023205-59b694f534ce
3yrs ago
No alternatives found
No tutorials found
Add a tutorial