epubimageprocessor

package
v3.0.0-...-cfda2ff Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 13, 2025 License: MIT Imports: 32 Imported by: 0

Documentation

Overview

Package epubimageprocessor extract and transform image into a compressed jpeg.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CoverTitleDataOptions

type CoverTitleDataOptions struct {
	Src         image.Image
	Name        string
	Text        string
	Align       string
	PctWidth    int
	PctMargin   int
	MaxFontSize int
	BorderSize  int
}

type EPUBImageProcessor

type EPUBImageProcessor interface {
	Load() (images []epubimage.EPUBImage, err error)
	CoverTitleData(o CoverTitleDataOptions) (epubzip.Image, error)
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL