Documentation ¶
Overview ¶
PDF Rasterizer
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Pdfium ¶
type Pdfium struct{}
type Poppler ¶
type Poppler struct{}
type Rasterizer ¶
type Rasterizer interface { // Rasterize will take the path to a PDF file and rasterize the // file. If the file has multiple pages, discard all but the first // page. The output file will be in PNG format. Rasterize(pdfInputPath, pngOutputPath string) error // Return the name of this rasterizer. String() string // Return false if the rasterizer is found. Enabled() bool }
func GetEnabledRasterizers ¶
func GetEnabledRasterizers() []Rasterizer
GetEnabledRasterizers returns the list of enabled rasterizers based on the executables installed on the host machine.
Click to show internal directories.
Click to hide internal directories.