Platforms to show: All Mac Windows Linux Cross-Platform
Back to Picture class.
Picture.CompareMBS(other as picture, threshold as Integer) as Double
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
method | Graphics & Pictures | MBS Picture Plugin | 10.1 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | All |
Returns the percent of difference: Number of pixels where the squared color difference is bigger than the threshold divided by the total number of pixels.
If width and height are not equal, the result is 1.0.
If you need to check the mask also, please call this method a second time for the masks.
Only compares raw pixels without checking mask or alpha channel.
The items on this page are in the following plugins: MBS Picture Plugin.