Documentation
¶
Index ¶
Constants ¶
View Source
const (
MaxArchiveEntries = 4096 * 64
)
Variables ¶
View Source
var ArchiveExtensions = []string{".zip", ".cbz"}
var ArchiveExtensions = []string{".zip", ".cbz", ".7z", ".rar", ".tar", ".tgz", ".tbz2", ".cb7", ".cbr", ".cbt"}
View Source
var (
ErrBounds = errors.New("Image index out of bounds.")
)
View Source
var ImageExtensions = []string{
".jpg", ".jpeg", ".gif", ".png", ".tif", ".bmp", ".pcx", ".xv", ".xpm",
".xcf", ".tif", ".tga", ".pnm", ".lbm", ".cur", ".ico",
".jp2", ".j2k", ".jpf", ".jpx", ".jpm",
}
Functions ¶
func ExtensionMatch ¶
func ListArchives ¶
Types ¶
type Archive ¶
type Archive interface { Load(i int, autorotate bool) (*gdk.Pixbuf, error) Name(i int) (string, error) Len() int Close() error }
func NewArchive ¶
Click to show internal directories.
Click to hide internal directories.