The title says it: I want to know how large my image is, because I want to calculate things later on based on those measurements. How can I get the width and height of the image into a flow variable?
you can use the image properties -> collection splitter -> row to variable.
Does that work?
Not quite. The Information is just output as a long string like
Image[name=myimage.png;source=;dimensions=2453,3462,3 (X,Y,Channel);min=38,20,0;pixel type=UnsignedByteType)]
Now, I could use some string manipulation to get the dimensions I guess, but isn't there a more elegant way?
If not, how would I do the string manipulation here?
take a look at the attached example workflow that demonstrates Christian's answer.