5
0
mirror of https://github.com/cwinfo/matterbridge.git synced 2024-11-24 14:21:37 +00:00
matterbridge/vendor/github.com/kettek/apng/apng.go
Benau 53cafa9f3d
Convert .tgs with go libraries (and cgo) (telegram) (#1569)
This commit adds support for go/cgo tgs conversion when building with the -tags `cgo`
The default binaries are still "pure" go and uses the old way of converting.

* Move lottie_convert.py conversion code to its own file

* Add optional libtgsconverter

* Update vendor

* Apply suggestions from code review

* Update bridge/helper/libtgsconverter.go

Co-authored-by: Wim <wim@42.be>
2021-08-24 22:32:50 +02:00

14 lines
400 B
Go

// Copyright 2018 kts of kettek / Ketchetwahmeegwun Tecumseh Southall. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
package apng
type APNG struct {
Frames []Frame
// LoopCount defines the number of times an animation will be
// restarted during display.
// A LoopCount of 0 means to loop forever
LoopCount uint
}