CalculateImageBytes

Returns the memory required to store an image in the given pixel format (EPixelFormat).