MCPcopy
hub / github.com/FloatTech/ZeroBot-Plugin / loadFirstFrames

Function loadFirstFrames

plugin/gif/context.go:100–109  ·  view source on GitHub ↗
(paths []string, size int)

Source from the content-addressed store, hash-verified

98}
99
100func loadFirstFrames(paths []string, size int) (imgs []*factory.Factory, err error) {
101 imgs = make([]*factory.Factory, size)
102 for i := range imgs {
103 imgs[i], err = factory.LoadFirstFrame(paths[i], 0, 0)
104 if err != nil {
105 return nil, err
106 }
107 }
108 return imgs, nil
109}

Callers 15

alikeFunction · 0.85
marriageFunction · 0.85
decentKissFunction · 0.85
chinaFlagFunction · 0.85
dontTouchFunction · 0.85
needFunction · 0.85
paintFunction · 0.85
painterFunction · 0.85
perfectFunction · 0.85
policeFunction · 0.85
police1Function · 0.85
prprFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected