Create an JPG from UTexture2D

Hi,

is there a standard way in the engine to create JPGs from UTexture2D's mip levels in C++ code?

I’ve only found this but it only supports some apple specific format.