createThumbnailFromPath

fun createThumbnailFromPath(path: String, size: Size): <Error class: unknown class><NativeImage>(source)

fulfilled with the file's thumbnail preview image, which is a NativeImage.

Note: The Windows implementation will ignore size.height and scale the height according to size.width.