apparently need to clear, context not what expected
All checks were successful
build rgb-board / build (push) Successful in 2m1s

This commit is contained in:
2024-02-16 01:52:47 +00:00
parent bf1c448a84
commit 18b2875ddf

View File

@@ -27,4 +27,5 @@ func (a *Animation)loadImage(imgType string, img string) {
bigImage, _, _ := image.Decode(bytes.NewReader(baseImage))
a.doorbell.image = imaging.Resize(bigImage, 64, 64, imaging.Lanczos)
a.ctx.Push()
a.ctx.Clear()
}