Create your first automation in just a few minutes.Try Studio Web →
by Internal Labs
4
Activity
9.4k
Summary
Summary
A package containing activities for comparing image files
Overview
Overview
What
Activities that output an image file can have their results checked using an image comparison algorithm. The simplest of these is a pixel-by-pixel check for equality. More complex algorithms that take an error metric based threshold parameter can also be used. The latter are implemented using the Magick.NET library's Compare method.
Who
RPA developers, although QAs can also use it to run image specific scenarios.
How
Drag and drop the Compare Two Image Files Pixel By Pixel activity from under the UIPathTeam > Images node. Locate the two image files to be used in the comparison.
The activity returns a boolean that indicates whether or not the two inputted files are identical.
Drag and drop the Compare Two Image Files Using Threshold activity from under the UIPathTeam > Images node. Locate the two image files to be used in the comparison. Choose one of the available ErrorMetric values. An explanation regarding metrics can be found here. Set the required Threshold value. This represents the upper bound of the distortion based on the selected ErrorMetric for the two input images to be considered equal. The activity returns returns the computed Distortion. It also returns a boolean that indicates whether or not the two inputted files are equal based on the computed distortion and the Threshold value.
The supported image file types are:
Features
Features
You can introduce image comparison (pixel-by-pixel equality or error metric thresholded equality) in workflows
Additional Information
Additional Information
Dependencies
https://www.nuget.org/packages/Magick.NET-Q8-AnyCPU/ Magick.NET-Q8-AnyCPU - https://github.com/dlemstra/Magick.NET/blob/master/License.txt Apache 2.0 License
Code Language
Visual Basic
Runtime
Windows Legacy (.Net Framework 4.6.1)
Technical
Version
2.1.0Updated
April 27, 2020Works with
Studio: 21.10 - 22.10
Certification
Silver Certified
Support
UiPath Community Support