Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
Palette = color.Palette{
palColors["sameColor"],
palColors["diffColor1"],
palColors["diffColor2"],
palColors["diffColor3"],
palColors["diffColor4"],
palColors["diffColor5"],
palColors["diffColor6"],
palColors["diffColor7"],
palColors["diffColor8"],
palColors["aOnlyColor"],
palColors["bOnlyColor"],
}
)
Functions ¶
func Compare ¶
Compare takes 2 imgs compares them and returns a result img the combined size of the 2 with all differences marked as 50% red and a only as 50% cyan b only as 50% orange a boolean telling if the imgs differ
func CompareFiles ¶
CompareFiles takes 2 input and an output filename as argument compares them and write the difference to the resultFile returns a bool telling if differences have been found and an error which we hope is nil.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.