Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ImageDevice ¶
type ImageDevice struct {
// contains filtered or unexported fields
}
ImageDevice is used to render PDF pages to image targets.
func (*ImageDevice) Render ¶
Render converts the specified PDF page into an image and returns the result.
func (*ImageDevice) RenderToPath ¶
func (d *ImageDevice) RenderToPath(page *model.PdfPage, outputPath string) error
RenderToPath converts the specified PDF page into an image and saves the result at the specified location.
Click to show internal directories.
Click to hide internal directories.