Versions in this module Expand all Collapse all v0 v0.0.2 Nov 5, 2022 Changes in this version type Slide + func (slide Slide) AssociatedImageDimensions() map[string][2]int + func (slide Slide) AssociatedImageNames() []string + func (slide Slide) ReadAssociatedImage(associatedName string) (image.Image, error) v0.0.1 Nov 5, 2022 Changes in this version + const PropBackgroundColor + const PropBoundsHeight + const PropBoundsWidth + const PropBoundsX + const PropBoundsY + const PropMPPX + const PropMPPY + const PropObjectivePower + func DetectVendor(filename string) (string, error) + func Version() string + type Slide struct + func Open(filename string) (Slide, error) + func (slide Slide) BestLevelForDownsample(downsample float64) int + func (slide Slide) Close() + func (slide Slide) GetSpacing() ([2]float64, error) + func (slide Slide) GetThumbnail(size int) (image.Image, error) + func (slide Slide) LargestLevelDimensions() [2]int + func (slide Slide) LevelCount() int + func (slide Slide) LevelDimensions(level int) [2]int + func (slide Slide) LevelDownsample(level int) float64 + func (slide Slide) LevelDownsamples() []float64 + func (slide Slide) Properties() map[string]string + func (slide Slide) PropertyNames() []string + func (slide Slide) PropertyValue(propName string) string + func (slide Slide) ReadRegion(x, y int, level int, w, h int) (image.Image, error)