RGBAImageEqual returns true if the parameter images a and b match or false if otherwise.
(a, b *image.RGBA)
| 99 | // RGBAImageEqual returns true if the parameter images a and b match |
| 100 | // or false if otherwise. |
| 101 | func RGBAImageEqual(a, b *image.RGBA) bool { |
| 102 | return RGBAImageApproxEqual(a, b, 0) |
| 103 | } |
| 104 | |
| 105 | // RGBAImageApproxEqual returns true if all pixel channel values in images a and b |
| 106 | // differ by at most the given tolerance, or false otherwise. |