Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Packer ¶
type Packer interface { // SupportedConversion what conversion format does this packer supports SupportedConversion() (formats []constant.ConversionFormat) Save(chapter *source.Chapter) (string, error) SaveTemp(chapter *source.Chapter) (string, error) }
Packer is the interface that all packers must implement.
type PageContainer ¶
type PageContainer struct { // Page is a pointer to a manga page object. Page *source.Page // Image is the decoded image of the manga page. Image image.Image // Format is a string representing the format of the image (e.g., "png", "jpeg", "webp"). Format string }
PageContainer is a struct that holds a manga page, its image, and the image format.
func NewContainer ¶
Click to show internal directories.
Click to hide internal directories.