Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Downloader ¶
Downloader is responsible for downloading videos.
type Engine ¶
type Engine struct { Dir string // Directory to write temporary files. FFmpeg string // Path to FFmpeg binary. Convert string // Path to imagemagick Convert binary. Debug bool // Print commands used. Out io.Writer // Writer to use if debug is true. Junk []string // Temporary files to cleanup. // contains filtered or unexported fields }
Engine implements video and image manipulation.
func (*Engine) Crush ¶
Crush reduces the file size of a gif image. Accepts a filepath to the gif image and replaces it with the crushed gif. Fuzz is a percentage value between 0 and 100, where 0 is best quality, 100 is smallest file size. Optimal is typically 2-5.
Click to show internal directories.
Click to hide internal directories.