Functions Index :: I :: IsPixelType
Module:
Definition:
IsPixelType(string pixel_type, bool "extended")
Description:
Returns true if pixel_type is a valid pixel type string (as it is used by many Avisynth filters).
If 'extended is true, the value "RGB" is also considered to be a valid pixel type (it is used by the Show{Red/Green/Blue/Alpha} filters).
Examples:
b = IsPixelType("rgb32") # b == true c = IsPixelType("brown") # c == false