saveToFile

abstract fun saveToFile(file: File, imageFileFormat: ImageFileFormat = ImageFileFormat.guessFromExtension(file.extension), async: Boolean = true)

save the ColorBuffer to File