package
0.7.3-alpha
Repository: https://github.com/kupferstich/datatool.git
Documentation: pkg.go.dev

# Functions

Artists exports all the artists into the Artist content folder.
ContentFromPerson creates a content page from a person.
ContentFromPicture creates a content page from a picture.
ExportAreas the defined areas are cut out of the original image.
ExportArtistContent exports the picture data into the content folder.
No description provided by the author
No description provided by the author
ExportImage resizes the image into the ResizeSizes and saves them into the exportRootPath.
ExportImageContent exports the picture data into the content folder.
ExportImageData exports the pic data as JSON into the JSONArtworkSubfolder.
ImgArtwork exports all the images.
NewPageFrontMatterFromPerson maps the person structur to the hugo content.
NewPageFrontMatterFromPicture maps the structure to the Picture type.
WritePage writes the page into the io.Writer.

# Constants

Types for resizing.
Types for resizing.

# Variables

AreaMaxSize is the size where an area should fit into.
ContentArtistSubfolder the folder for the md content files.
ContentArtworkSubfolder the folder for the md content files.
ImgArtistSubfolder is where the images will be exported.
ImgArtworkSrcFilename is the filename of the picture inside the src (pictures) folder.
ImgArtworkSubfolder is where the images will be exported.
JSONArtistSubfolder is where the person json files will be copied.
JSONArtworkSubfolder is where the pictures json files will be copied.
ResizeFilter defines thee resize algorithm.
ResizeSizes is for the sizes which will be created thumb will be resized with the thumbnail method.

# Structs

PageFrontMatter defines the front matter of the hugo page.
Size describes the size of an image.

# Type aliases

ResizeType defines the method for resizing the image.