Versions in this module Expand all Collapse all v0 v0.3.0 May 22, 2023 Changes in this version + const MIMEURL v0.2.0 Sep 24, 2018 Changes in this version + var ErrorNotPictureMetadataBlock = errors.New("Not a picture metadata block") + var ErrorUnsupportedMIME = errors.New("Unsupported MIME") type MetadataBlockPicture + func ParseFromMetaDataBlock(meta flac.MetaDataBlock) (*MetadataBlockPicture, error) + func (c *MetadataBlockPicture) ParsePicture() error v0.1.0 Sep 23, 2018 Changes in this version + type MetadataBlockPicture struct + ColorDepth uint32 + Description string + Height uint32 + ImageData []byte + IndexedColorCount uint32 + MIME string + PictureType PictureType + Width uint32 + func NewFromImageData(pictype PictureType, description string, imgdata []byte, mime string) (*MetadataBlockPicture, error) + func (c *MetadataBlockPicture) Marshal() flac.MetaDataBlock + type PictureType uint32 + const PictureTypeArtist + const PictureTypeBackCover + const PictureTypeBand + const PictureTypeBandArtistLogotype + const PictureTypeBrightColouredFish + const PictureTypeComposer + const PictureTypeConductor + const PictureTypeDuringPerformance + const PictureTypeDuringRecording + const PictureTypeFileIcon + const PictureTypeFrontCover + const PictureTypeIllustration + const PictureTypeLeadArtist + const PictureTypeLeaflet + const PictureTypeLyricist + const PictureTypeMedia + const PictureTypeOther + const PictureTypeOtherIcon + const PictureTypePublisherStudioLogotype + const PictureTypeRecordingLocation + const PictureTypeScreenCapture Other modules containing this package github.com/go-flac/flacpicture/v2