Documentation ¶
Overview ¶
Package imagemeta provides functions for parsing and extracting Metadata from Images. Different image types such as JPEG, Camera Raw, DNG, TIFF, HEIF, and AVIF.
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( ErrNoExif = meta.ErrNoExif ErrNoExifDecodeFn = errors.New("error no Exif Decode Func set") ErrNoXmpDecodeFn = errors.New("error no Xmp Decode Func set") ErrImageTypeNotFound = imagetype.ErrImageTypeNotFound ErrMetadataNotSupported = errors.New("error metadata reading not supported for this imagetype") )
Errors
Functions ¶
This section is empty.
Types ¶
type ImageMeta ¶
type ImageMeta interface { Dimensions() meta.Dimensions ImageType() imagetype.ImageType PreviewImage() io.Reader Exif() (exif.Exif, error) Xmp() (xmp.XMP, error) }
ImageMeta interface for Image Metadata
Directories ¶
Path | Synopsis |
---|---|
Package bmff reads ISOBMFF boxes, as used by HEIF, AVIF, CR3, etc.
|
Package bmff reads ISOBMFF boxes, as used by HEIF, AVIF, CR3, etc. |
Package cr3 decodes (CR3) Canon Raw 3 Metadata using the bmff package Based on: Laurent Clévy's work on Canon CR3 file structure found at (@Lorenzo2472) (https://github.com/lclevy/canon_cr3)
|
Package cr3 decodes (CR3) Canon Raw 3 Metadata using the bmff package Based on: Laurent Clévy's work on Canon CR3 file structure found at (@Lorenzo2472) (https://github.com/lclevy/canon_cr3) |
Package exif provides functions for parsing and extracting Exif Information.
|
Package exif provides functions for parsing and extracting Exif Information. |
ifds
Package ifds provides types and functions for decoding tiff Ifds
|
Package ifds provides types and functions for decoding tiff Ifds |
ifds/exififd
Package exififd provides types for "RootIfd/ExifIfd"
|
Package exififd provides types for "RootIfd/ExifIfd" |
ifds/gpsifd
Package gpsifd provides types for "RootIfd/GPSIfd"
|
Package gpsifd provides types for "RootIfd/GPSIfd" |
ifds/mknote
Package mknote provides functions and types for decoding Exif Makernote values
|
Package mknote provides functions and types for decoding Exif Makernote values |
tag
Package tag provides types and functions for decoding Exif Tags
|
Package tag provides types and functions for decoding Exif Tags |
Package heic decodes Heic Metadata using the bmff package
|
Package heic decodes Heic Metadata using the bmff package |
Package imagehash processes a Perception hash and Average hash from an image.
|
Package imagehash processes a Perception hash and Average hash from an image. |
transforms
Package transforms provides the transformations for imagehash
|
Package transforms provides the transformations for imagehash |
Package imagetype provides types and functions for identifying Image document types
|
Package imagetype provides types and functions for identifying Image document types |
Package jpeg reads metadata information (Exif and XMP) from a JPEG Image.
|
Package jpeg reads metadata information (Exif and XMP) from a JPEG Image. |
Package meta contains meta types for image metadata
|
Package meta contains meta types for image metadata |
canon
Package canon provides data types and functions for representing Canon Camera Makernote values
|
Package canon provides data types and functions for representing Canon Camera Makernote values |
Package tiff reads Tiff Header metadata information from image files before being processed by exif package
|
Package tiff reads Tiff Header metadata information from image files before being processed by exif package |
Package xmp provides functions for decoding .xmp sidecar files and XMP embedded within image files
|
Package xmp provides functions for decoding .xmp sidecar files and XMP embedded within image files |
xmpns
Package xmpns provides XMP Namespace information
|
Package xmpns provides XMP Namespace information |
Click to show internal directories.
Click to hide internal directories.