Documentation ¶
Index ¶
- Constants
- type AudioProperties
- type File
- func (f *File) Close()
- func (f *File) HasMedia() bool
- func (f *File) ReadAudioProperties() *AudioProperties
- func (f *File) ReadImage() (image.Image, error)
- func (f *File) ReadTags() keyMap
- func (f *File) RemovePictures() bool
- func (f *File) WriteImage(img image.Image, format int) error
- func (f *File) WriteImageData(data []byte, fmt, w, h int) bool
- func (f *File) WriteTags(tagMap keyMap) bool
Constants ¶
View Source
const ( JPEG = iota PNG = iota )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AudioProperties ¶
type AudioProperties struct {
Length, LengthMs, Bitrate, Samplerate, Channels int
}
type File ¶
type File C.TagLib_FileRefRef
func (*File) ReadAudioProperties ¶
func (f *File) ReadAudioProperties() *AudioProperties
func (*File) RemovePictures ¶
Click to show internal directories.
Click to hide internal directories.