epubimagefilters

package
v2.7.1 Latest Latest
Warning

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

Go to latest
Published: May 1, 2024 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AutoContrast added in v2.6.1

func AutoContrast() gift.Filter

AutoContrast Automatically improve contrast

func AutoCrop

func AutoCrop(img image.Image, bounds image.Rectangle, cutRatioLeft, cutRatioUp, cutRatioRight, cutRatioBottom int, limit int, skipIfLimitReached bool) gift.Filter

AutoCrop Lookup for margin and crop

func CoverTitle

func CoverTitle(title string, align string, pctWidth int, pctMargin int, maxFontSize int, borderSize int) gift.Filter

CoverTitle Create a title with the cover image

func CropSplitDoublePage

func CropSplitDoublePage(right bool) gift.Filter

CropSplitDoublePage Cut a double page in 2 part: left and right.

This will cut in the middle of the page.

func Pixel

func Pixel() gift.Filter

Pixel Generate a blank pixel 1x1, if the size of the image is 0x0.

An image 0x0 is not a valid image, and failed to read.

Types

This section is empty.

Jump to

Keyboard shortcuts

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