qrgif

package
v0.9.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 29, 2023 License: GPL-3.0 Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type QRGif

type QRGif struct {
	// VideoPath is the directory of the frames, stored in format frame_%05d.jpg
	VideoPath string

	OutputPath string

	Code *qrcode.QRCode

	ChangeFraction float64
	// contains filtered or unexported fields
}

QRGif represents the qr gif video

func NewQRGif

func NewQRGif(videoPath, outputPath, content string, changeFraction float64) *QRGif

NewQRGif creates a new QRGif object

func (*QRGif) EmbedVideo

func (qrg *QRGif) EmbedVideo()

EmbedVideo embeds the Video into the QRCode

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL