/Engine/Source/Developer/TextureFormat/Public/Interfaces/ITextureFormat.h
Compresses a single image.
true on success, false otherwise.
bool CompressImage ( const [FImage](API\Runtime\ImageCore\FImage) & Image, const [FTextureBuildSettings](API\Developer\TextureCompressor\FTextureBuildSettings) & BuildSettings, const FIntVector3 & InMip0Dimensions, int32 InMip0NumSlicesNoDepth, int32 InMipIndex, int32 InMipCount, FStringView DebugTexturePathName, bool bImageHasAlphaChannel, struct [FCompressedImage2D](API\Developer\TextureCompressor\FCompressedImage2D) & OutCompressedImage ) const