Can you use node.width() and node.height() instead? Those should return the actual resolution. cheers, Patrick
On 29.08.2014, at 10:44, Richard Bobo <richb...@mac.com> wrote: > Hi, > > This is an interesting problem… (8^\ > > If I copy/paste a path string into a Read node’s file knob, the format knob > does not update to reflect the new image path’s image size. > > The only way that I have found to get the format knob to update is to > actually browse to the image, select it and hit the Open button. Hitting the > reload button or changing any of the other knobs does not seem to cause Nuke > to re-check the image at the new file path location. > > I have a gizmo that depends upon getting the Read node’s image size and I’ve > been using the format knob as a way to get it. Is there any way to force Nuke > to look at the image the newly-pasted file path is referring to and refresh > the format knob? If I could figure out what callback is firing when manually > browsing for the image and hitting the Open button, that would probably do it… > > Any ideas…? > > Thanks, > Rich > > > Rich Bobo > Senior VFX Compositor > Armstrong White > Email: rich.b...@armstrong-white.com > http://armstrong-white.com/ > > Email: richb...@mac.com > Mobile: (248) 840-2665 > Web: http://richbobo.com/ > > "Man does not live by a turkey in every oven or a color TV set in every home. > Man lives by faith and hope and love, by the star on the horizon, by the > trumpet that will not call retreat." > - E. Merrill Root > > > > > > _______________________________________________ > Nuke-python mailing list > Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
_______________________________________________ Nuke-python mailing list Nuke-python@support.thefoundry.co.uk, http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python