Documentation
¶
Overview ¶
Package cbz writes and reads comic book archives: a ZIP with the pages stored (not compressed, images already are) as 0001.jpg, 0002.png, … and a ComicInfo.xml that other readers understand.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrNotImage = errors.New("cbz: page is not a supported image")
ErrNotImage is a page that isn't a known image type.
Functions ¶
This section is empty.
Types ¶
type Archive ¶
type Archive struct {
// contains filtered or unexported fields
}
Archive is an archive opened for reading pages.
type ComicInfo ¶
type ComicInfo struct {
XMLName xml.Name `xml:"ComicInfo"`
Title string `xml:"Title,omitempty"`
Series string `xml:"Series,omitempty"`
Number string `xml:"Number,omitempty"`
Volume int `xml:"Volume,omitempty"`
Summary string `xml:"Summary,omitempty"`
Notes string `xml:"Notes,omitempty"`
Year int `xml:"Year,omitempty"`
Writer string `xml:"Writer,omitempty"`
Penciller string `xml:"Penciller,omitempty"`
Translator string `xml:"Translator,omitempty"`
Genre string `xml:"Genre,omitempty"`
Web string `xml:"Web,omitempty"`
PageCount int `xml:"PageCount,omitempty"`
LanguageISO string `xml:"LanguageISO,omitempty"`
Manga string `xml:"Manga,omitempty"`
AgeRating string `xml:"AgeRating,omitempty"`
}
ComicInfo is the ComicInfo.xml metadata (the fields other readers use).
Click to show internal directories.
Click to hide internal directories.