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.heightand scale the height according tosize.width.