-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
some MaterialUI icons have no alpha anymore #187
Comments
After: Now: Looks like all have transparency? |
Wouldn't surprise me too much if RetroArch is somehow not implementing the complete PNG specification. (That premultiplication script creeps me out, standard PNGs don't do that.) It would surprise me slightly more, but not too much, if my recompression script doesn't implement the complete PNG specification and somehow glitched the pics (I saw some of them use 16 bits per channel, rather than the usual 8). But on the other hand, that would've glitched the GitHub previews too. |
This is a serious issue though especially in light of the 1.7.0 release that we intend to launch within a few days. If it is not realistic to have RPNG patched so that it can handle these images within the next few days, I would recommend we revert the optimizations. |
Reverting that commit would inflate the repo a fair bit, and I'm not sure how to revert across the flattening without losing whatever happened since then. Selectively restoring only those images would be mostly harmless, but that requires identifying them. But more importantly, if we don't fix it in rpng, nothing's stopping this issue from reappearing a dozen times. Poking the images with ImageMagick reveals that it changed from Indexed to Grayscale color type, and that it has a tRNS chunk. Which is conveniently marked as TODO in rpng. tRNS on non-indexed color looks fairly simple, just 'every time you see this color, replace with transparent', but obviously someone would have to do it. I'm currently not available. |
I tested this out now - not only are the images lower in quality, but they also have that unfortunate alpha issue now. Since we don't have time right now to add that missing code support, I'm simply going to revert the icons for MaterialUI as is. We don't have the luxury or the time to inconvenience nightly users with this right now. We can return to these icon optimizations at a later date once you have this TnS support in RPNG and either you or somebody else finds the time to add it. This was a bit of a jumping of the gun, and while it's nobody's fault and it's simply negligence of testing, we cannot leave it like this either, it's not a non-trivial issue. So I'm making the veto decision to revert the files back that were affected, fortunately it's not all of them. |
Updated the problematic images - @bparker06 and/or other contributors - please let me know if there are still tray icons that exhibit this issue or whether this takes care of them all now. |
Oh and it looks like the XMB Pixel theme is blurry and not pixel perfect too. |
Would be good to suppose HighDPI for the assets. While the approach is questionable, I made a different issue for it: #189 |
@Alcaro i could re-export all the images with the original optimization of |
or maybe just grab them from the last commit before the optimizations from retroarch-assets-old1: Should i do a pull reverting them? |
I heard there was some optimization done lately on the assets, not sure if this was by @Alcaro or someone else, but things aren't quite right now:
The text was updated successfully, but these errors were encountered: