Read_image
This tag is able to read various formats of image files and make the data as well as some attributes (ie height, width, etc) available at runtime for testing purposes.
Events
[read.image|name_of_event] Event
height
the number of pixels in height of the image read
width
the number of pixels in width of the image read
data
the data that represents the images RGBA values with 8 bits of precision per color component. This value is then encoded in Base64 to be easily represented as a string and compare different image types directly as their RGBA data.
Required Attributes
uri
The uri that points to the image file to read. The supported file types are registered with the java IIORegistry and you can find more information here
Usage Examples
Example #1
<read_image event="blue.jpg" uri="storage://INPUT/blue.jpg" />
Example #2
<read_image uri="storage://INPUT/image.jpg" />