You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using a jpg file for the window icon in the package.json, the upper left hand icon in Windows 7 & 8 is not replaced. I'm not sure if it's just with large jpg files, but the one that is being used is 1024x1024. I tried converting the file to png and the upper left hand icon was as expected. This happens with the latest version of nwjs and node webkit.
I'm not sure if it's just with large jpg files, but the one that is being used is 1024x1024. I tried converting the file to png and the upper left hand icon was as expected.
I resized the big image to a 124x124 pixel image and still didn't work.
I also tried an 124x124 .png and that did work.
Looks like an .jpg only issue.
I don't think this is a bug and it is by design since jpg lacks transparency and is overall a terrible format technically for icons. As far as size goes, why would you need a 1024x1024 icon? Seems like a big waste of resources for something that will never render remotely close to that large.
You could argue that it's not really a bug, and I could agree with you, since I agree that jpg is a terrible format. However, it should be specified somewhere that jpg's won't be placed in the upper left hand corner properly and that png's are MUCH preferred.
... As far as size goes, why would you need a 1024x1024 icon? ...
The situation required a big image. As state in my comment above #3317 (comment), I resized the image with same results. So it wasn't the size that was giving issues.
When using a jpg file for the window icon in the package.json, the upper left hand icon in Windows 7 & 8 is not replaced. I'm not sure if it's just with large jpg files, but the one that is being used is 1024x1024. I tried converting the file to png and the upper left hand icon was as expected. This happens with the latest version of nwjs and node webkit.
See here for more info, including the package.json and original icon that was used: nwutils/Web2Executable#7 (comment)
Want to back this issue? Post a bounty on it! We accept bounties via Bountysource.
The text was updated successfully, but these errors were encountered: