Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OutputWaveformImageMp3 ¶
OutputWaveformImageMp3 outputs waveform image from *mp3.Decoder.
Types ¶
type Option ¶
type Option struct { // Resolution specifies the resolution of the // Required. Resolution int // Width specifies the width of the resulting image. // Default: Resolution * 5 Width int // Height specifies the height of the resulting image. // Default: 540 Height int // Background specifies the color of the background. // Default: none (transparent) Background color.Color // Color specifies the color of the waveform. // Default: color.Black Color color.Color }
Option image option
Click to show internal directories.
Click to hide internal directories.