epubimageprocessor

package
v2.6.9 Latest Latest
Warning

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

Go to latest
Published: Jan 1, 2024 License: MIT Imports: 30 Imported by: 0

Documentation

Overview

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 added in v2.6.1

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

type EPUBImageProcessor added in v2.4.0

type EPUBImageProcessor struct {
	*epuboptions.Options
}

func (*EPUBImageProcessor) Cover16LevelOfGray added in v2.6.1

func (e *EPUBImageProcessor) Cover16LevelOfGray(bounds image.Rectangle) draw.Image

func (*EPUBImageProcessor) CoverTitleData added in v2.4.0

create a title page with the cover

func (*EPUBImageProcessor) Load added in v2.4.0

func (e *EPUBImageProcessor) Load() (images []*epubimage.Image, err error)

extract and convert images

Jump to

Keyboard shortcuts

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