Methods
The engine, with no componentwidget anywhere in it. Two documents in and what changed out, two pictures in and what changed out, a patch read or written.
| Page | What it does |
|---|---|
diffText | Compares two documents by line, then inside each changed line. |
diffWords | Compares two lines a word at a time. |
diffCharacters | The same comparison, a character at a time. |
diffSequence | Compares two sequences of tokens, whatever the tokens are. |
formatPatch | Writes a comparison out as a unified diff. |
parsePatch | Reads a unified diff back into comparisons. |
diffImage | Compares two pictures pixel by pixel. |
diffImages | Compares several pictures at once against a baseline. |
imageSimilarity | Says how alike two pictures are, as one number. |
imagesSimilarity | Says how alike several are, and which is the odd one out. |
paintDiffImage | Turns the mask of a comparison into a picture. |
paintDiffImages | The same, for a comparison of several. |