Documentation ¶
Overview ¶
Package stabi contains all the implementations for the pictures of Staats- und Universitaets Bibliothek Hamburg It links the XML representation to the data structures.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func GetPicture ¶
GetPicture maps the data of the mods xml to the data.Picture and returns a pointer to the created pic
func NewDataPicture ¶
NewDataPicture is an adapter from mods structure to picture
Types ¶
type Data ¶
type Data struct { Folder string DataFileExt string Pictures []data.Picture PersonDB data.PersonDBer }
func NewData ¶
func NewData(p string, pdb data.PersonDBer) *Data
NewData creates a pointer to a Data element with a given path
func (*Data) LoadPictures ¶
func (d *Data) LoadPictures()
LoadPictures loads the pictures from data folder. For loading the pictures the data.LoadType function is used.
func (*Data) SaveTiffAsJpg ¶
SaveTiffAsJpg takes the tiff pictures and saves them inside the data folder as jpg
Click to show internal directories.
Click to hide internal directories.