thomor 8ba9092d9c feat: Made the packages public
In order to let third parties use the package of this library, we moved
the pkg folder out of the locked internal folder
2024-09-24 22:37:00 +02:00

27 lines
684 B
Go

package epuboptions
type Image struct {
Crop Crop
Quality int
Brightness int
Contrast int
AutoContrast bool
AutoRotate bool
AutoSplitDoublePage bool
KeepDoublePageIfSplit bool
KeepSplitDoublePageAspect bool
NoBlankImage bool
Manga bool
HasCover bool
View View
GrayScale bool
GrayScaleMode int
Resize bool
Format string
AppleBookCompatibility bool
}
func (i Image) MediaType() string {
return "image/" + i.Format
}