SkipEmptyImage


If the input image contains at least one pixel, then it is copied to the output; otherwise Nil is returned.

Applications:Secures against domain errors caused by empty images.

Syntax

C++
Python
 
def SkipEmptyImage(
	inImage: Image,
	/
)
-> (
	outNotEmptyImage: Image | None,
	outIsNotEmpty: bool
)

Parameters

Name Type Default Description
Input value inImage Image Input image
Output value outNotEmptyImage Image | None
Output value outIsNotEmpty bool