Select attribute with wildcard character
Hi,
I am extracting image width and image height using ExtractImageMetadata processor and comparing the Image Width and Image Height with threshold value. If it is greater than the threshold value than I will resize the image. Attribute names, Image Width and Image Height is different for different image formats.
e.g. For .png
PNG-IHDR.Image Height
PNG-IHDR.Image Width
For .jpg
JPEG.Image Height
JPEG.Image Width
I want to have a regular expression something like below. So that irrespective of image format, I will be able to compare the Image Width and Image Height.
${"*Image Width":ge(1000):and(${"*Image Height":ge(1000)})}
Above regular expression is not working as expected. Any input will be helpful.
Thanks and Regards,
Biswa

