createThumbnailFromPath

fun createThumbnailFromPath(path: String, size: Size): ERROR CLASS: Symbol not found for Promise<electron/core/NativeImage>(source)

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

!NOTE Windows implementation will ignore size.height and scale the height according to size.width.