F_VN_GetPixelFormat
Gets the pixel format of an image. (Alternatively use interface method .GetPixelFormat.)
Syntax
Definition:
FUNCTION F_VN_GetPixelFormat : HRESULT
VAR_INPUT
ipImage : ITcVnImage;
END_VAR
VAR_IN_OUT
stPixelFormat : TcVnPixelFormat;
END_VAR
VAR_INPUT
hrPrev : HRESULT;
END_VAR
Inputs
Name |
Type |
Description |
---|---|---|
ipImage |
Image | |
hrPrev |
HRESULT indicating the result of previous operations (If SUCCEEDED(hrPrev) equals false, no operation is executed.) |
In/Outputs
Name |
Type |
Description |
---|---|---|
stPixelFormat |
Returns a struct describing the pixel format |
Required License
TC3 Vision Base