How to use image-size.imageSize:
GitHub: ElectronNET/Electron.NET
112 113 114 115 116 117 118 119 120 121 122
return false; } function startSplashScreen() { let imageFile = path.join(currentBinPath, manifestJsonFile.splashscreen.imageFile); imageSize(imageFile, (error, dimensions) => { if (error) { console.log(`load splashscreen error:`); console.error(error);
667
0
236
See more examples