Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SaverInterface ¶
type VideoSaver ¶
type VideoSaver struct {
// contains filtered or unexported fields
}
func NewVideoSaverStrategy ¶
func NewVideoSaverStrategy(ffmpeg *ffmpeg.FFMpeg) *VideoSaver
func (*VideoSaver) SaveInBuffer ¶
func (v *VideoSaver) SaveInBuffer() (output bytes.Buffer, err error)
func (*VideoSaver) SaveInFile ¶
func (v *VideoSaver) SaveInFile(path string) (output string, err error)
func (*VideoSaver) SetFrameSet ¶
func (v *VideoSaver) SetFrameSet(images *[]draw.Image) SaverInterface
func (*VideoSaver) SetFramerate ¶
func (v *VideoSaver) SetFramerate(framerate int) SaverInterface
type WebpSaver ¶
type WebpSaver struct {
// contains filtered or unexported fields
}
func NewWebpSaver ¶
func NewWebpSaver() *WebpSaver
func (*WebpSaver) SaveInBuffer ¶
func (*WebpSaver) SaveInFile ¶
func (*WebpSaver) SetFrameSet ¶
func (g *WebpSaver) SetFrameSet(images *[]draw.Image) SaverInterface
func (*WebpSaver) SetFramerate ¶
func (g *WebpSaver) SetFramerate(framerate int) SaverInterface
Click to show internal directories.
Click to hide internal directories.