GEORGE : tv_imageIsEmpty layerID iPosition
RETURN bool
1 if image(frame) is empty. 0 if something is drawn on the image
I know there is ways to do this with George for instance with tv_layercompareimage
But I would prefer a simpler solution that didn't inklude making new empty instances or layers
-Mads
GEORGE : tv_imageIsEmpty layerID iPosition
RETURN bool
1 if image(frame) is empty. 0 if something is drawn on the image
I know there is ways to do this with George for instance with tv_layercompareimage
But I would prefer a simpler solution that didn't inklude making new empty instances or layers
-Mads
I would prefer something like that ( "0" for "Empty" seems to me more intuitive) :
A quick way is to capture the complete frame into a cutbrush, optimize the cutbrush and check its dimensions... of course you would probably want to somehow temporarily store the current cutbrush or animbrush image so you could restore it after the test.
Svengali wrote:A quick way is to capture the complete frame into a cutbrush, optimize the cutbrush and check its dimensions... of course you would probably want to somehow temporarily store the current cutbrush or animbrush image so you could restore it after the test.
Mads Juul wrote:I know but it is slow . I also have a different feature request for obtaining the dimension of an image In the thread I also briefly discusses the problems involving using the cutbrush method.
Forgot dat. Having a George command for dimensions of a cutbrush and another that tests for a blank frame would be useful, especially inside a script that does other things as well.