Documentation
¶
Index ¶
- type HEIF
- func (h *HEIF) At(x, y int) color.Color
- func (h *HEIF) Bounds() image.Rectangle
- func (h *HEIF) Close() error
- func (h *HEIF) ColorModel() color.Model
- func (h *HEIF) Metadata() []media.Metadata
- func (h *HEIF) Primary() image.Image
- func (h *HEIF) Thumbnails() []image.Image
- func (h *HEIF) XMP() *xmp.XMP
- type Meta
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type HEIF ¶
type HEIF struct {
// contains filtered or unexported fields
}
HEIF wraps a libheif context and exposes the primary image as an image.Image.
func (*HEIF) ColorModel ¶
ColorModel returns the color model of the primary image.
func (*HEIF) Metadata ¶
Metadata returns metadata from the primary image.
EXIF and XMP payloads are parsed and expanded into their structured metadata entries. Any remaining blocks are returned as generic HEIF metadata records.
func (*HEIF) Thumbnails ¶
Thumbnails returns any attached thumbnail images for the primary image.
type Meta ¶
type Meta struct {
// contains filtered or unexported fields
}
func (*Meta) MarshalJSON ¶
Click to show internal directories.
Click to hide internal directories.