epubimageprocessor

package
v2.0.0-...-c09f89d Latest Latest
Warning

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

Go to latest
Published: Jun 5, 2023 License: MIT Imports: 27 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

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

type EPUBImageProcessor

type EPUBImageProcessor struct {
	*epuboptions.Options
}

func (*EPUBImageProcessor) Cover16LevelOfGray

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

func (*EPUBImageProcessor) CoverTitleData

create a title page with the cover

func (*EPUBImageProcessor) Load

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