Hi I followed your code script but it does not work I keep getting changing values for width and height.
while True:
jpegImage = node.io['jpeg'].get()
ts = jpegImage.getTimestamp()
node.warn(f'{ts}')
node.warn(f' width: {jpegImage.getWidth()}')
node.warn(f' height: {jpegImage.getHeight()}')
node.warn(f' length: {len(jpegImage.getData())}')
[18443010210DFA0F00] [192.168.1.104] [107.344] [Script(2)] [warning] 0:01:47.283295
[18443010210DFA0F00] [192.168.1.104] [107.344] [Script(2)] [warning] width: 1736356
[18443010210DFA0F00] [192.168.1.104] [107.344] [Script(2)] [warning] height: 1736368
[18443010210DFA0F00] [192.168.1.104] [107.344] [Script(2)] [warning] length: 1736356
[18443010210DFA0F00] [192.168.1.104] [107.443] [Script(2)] [warning] 0:01:47.382945
[18443010210DFA0F00] [192.168.1.104] [107.443] [Script(2)] [warning] width: 1737841
[18443010210DFA0F00] [192.168.1.104] [107.443] [Script(2)] [warning] height: 1737856
[18443010210DFA0F00] [192.168.1.104] [107.443] [Script(2)] [warning] length: 1737841
[18443010210DFA0F00] [192.168.1.104] [107.543] [Script(2)] [warning] 0:01:47.482596
[18443010210DFA0F00] [192.168.1.104] [107.543] [Script(2)] [warning] width: 1740705
[18443010210DFA0F00] [192.168.1.104] [107.543] [Script(2)] [warning] height: 1740720
[18443010210DFA0F00] [192.168.1.104] [107.543] [Script(2)] [warning] length: 1740705