Documentation ¶
Overview ¶
Helper to write epub files.
We create a zip with the magic epub mimetype.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type EpubZip ¶
type EpubZip struct {
// contains filtered or unexported fields
}
func (*EpubZip) WriteContent ¶ added in v2.3.1
Write file. Compressed it using deflate.
func (*EpubZip) WriteMagic ¶
Write mimetype, in a very specific way. This will be valid with epubcheck tools.
type ZipImage ¶ added in v2.3.1
type ZipImage struct { Header *zip.FileHeader Data []byte }
func CompressImage ¶ added in v2.3.1
create gzip encoded jpeg
func (*ZipImage) CompressedSize ¶ added in v2.3.1
compressed size of the image with the header
Click to show internal directories.
Click to hide internal directories.