Documentation
¶
Overview ¶
Package meta and its subpackages provide support for embedded image metadata.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Data ¶
type Data struct { Format ImageFormat PixelWidth uint32 PixelHeight uint32 BitsPerComponent uint32 // contains filtered or unexported fields }
Data represents the metadata for an image.
func (*Data) ICCProfile ¶
ICCProfile returns an extracted ICC profile from this metadata.
An error is returned if the ICC profile could not be correctly parsed.
If no profile data was found, nil is returned without an error.
func (*Data) ICCProfileData ¶ added in v0.22.0
ICCProfile returns the raw ICC profile data from this metadata.
An error is returned if the ICC profile could not be correctly extracted from the image.
If no profile data was found, nil is returned without an error.
func (*Data) SetICCProfileData ¶ added in v0.24.0
func (*Data) SetICCProfileError ¶ added in v0.24.0
type ImageFormat ¶ added in v0.24.0
type ImageFormat string
Directories
¶
Path | Synopsis |
---|---|
Package autometa provides support for embedded metadata and automatic detection of image formats.
|
Package autometa provides support for embedded metadata and automatic detection of image formats. |
Package binary provides common utilities for working with binary data streams.
|
Package binary provides common utilities for working with binary data streams. |
Package icc provides support for working with ICC colour profile data.
|
Package icc provides support for working with ICC colour profile data. |
Package jpegmeta provides support for working with embedded JPEG metadata.
|
Package jpegmeta provides support for working with embedded JPEG metadata. |
Package pngmeta provides support for working with embedded PNG metadata.
|
Package pngmeta provides support for working with embedded PNG metadata. |
Package webpmeta provides support for working with embedded WebP metadata.
|
Package webpmeta provides support for working with embedded WebP metadata. |
Click to show internal directories.
Click to hide internal directories.