We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 115be20 commit 61f3ec6Copy full SHA for 61f3ec6
1 file changed
pkg/utils/image.go
@@ -6,6 +6,10 @@ import (
6
)
7
8
func ImageEqual(img1, img2 image.Image) bool {
9
+ if img1 == nil || img2 == nil {
10
+ return img1 == img2
11
+ }
12
+
13
if !img1.Bounds().Eq(img2.Bounds()) {
14
return false
15
}
0 commit comments