The FileTransform class has several static methods such as GetFormatExtensionByIndex that will allow client programs to iterate over all of the supported formats to check if a given extension is supported by OCIO. However, it would be nice to have a helper function to just take the extension and return true/false. Such as:
class FileTransform
/// Returns true if the extension corresponds to a format supported by FileTransform.
/// The argument is case-insensitive, and a leading dot, if present, is ignored.
static bool IsFormatExtensionSupported(const char * ext);
The FileTransform class has several static methods such as GetFormatExtensionByIndex that will allow client programs to iterate over all of the supported formats to check if a given extension is supported by OCIO. However, it would be nice to have a helper function to just take the extension and return true/false. Such as: