/Engine/Source/Runtime/ImageWrapper/Public/IImageWrapper.h
CanSetRawFormat returns true if SetRaw will accept this format
bool CanSetRawFormat ( const ERGBFormat InFormat, const int32 InBitDepth ) const