Documentation ¶
Overview ¶
Package jpeg implements the builder for JPEG files.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type JPEGBuilder ¶
type JPEGBuilder struct {
// contains filtered or unexported fields
}
JPEGBuilder struct.
func (*JPEGBuilder) GenerateFile ¶
func (j *JPEGBuilder) GenerateFile(page *rod.Page) ([]byte, error)
GenerateFile converts a rod Page instance to a PNG file.
func (*JPEGBuilder) SetFullPage ¶
func (j *JPEGBuilder) SetFullPage(fullPage bool) generator.Generator
SetFullPage sets the pages to be converted. If false, only the first page is selected.
Click to show internal directories.
Click to hide internal directories.