-
Notifications
You must be signed in to change notification settings - Fork 6
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
ImageEdition Rewrite #41
Comments
I'm unable to replicate this issue. Could you share a screenshot for clarification? By the way, thank you for submitting your issues along with helpful examples. I greatly appreciate it. |
I'm still unable to reproduce, but 'im very curious about this one. Could you please share your Firefox build and version? |
The image editing feature is currently capable of adjusting both background images for darkening and other images for brightening. However, it requires intelligence to determine whether to brighten, darken, reduce luminance, leave untouched, or categorize under other criteria (categories are still to define ). In the case of this eBay logo, "untouched" could be a good choice. |
I just had the entire page refuse to load on 1.5.21 with new errors! Looks like this is going to be a fun one. Steps to reproduce: go to this issue on Github, enable UltimaDark, Cache system, and Image edition, right click open the sourceforge link in new tab and the page is blank. disable everything close the tab and reopen the tab to fix |
I'm on Firefox Developer Edition 122.0b3 |
Shown on 121.0 Stable, it didn't capture the extension window but I start with image edition enabled, disable it and refresh, then enable it again and refresh to show that it is repeatable - video is too big for Github video that refuses to embed inline: https://cdn.discordapp.com/attachments/624403666425872405/1190055863948415106/Abacus_Java_GUI_Builder_download___SourceForge.net_Mozilla_Firefox_2023-12-28_16-15-02.mp4 |
The error you have there, "last_rule" not defined, is an error that I theorized but believed to be impossible. I'm adding a test to cover it and a message in the inspector to try to understand in what incredibly rare case it can occur. However, I have the feeling that it is not the only thing that can cause long page loading times so regularly, given the high level of improbability of this error. Good one ! |
1.5.21 was too buggy for a release, it was breaking so much websites i had to publish 1.5.22 as a rollback |
Bummer, I was using it and it seemed decent on stable - less so on Developer... |
This is an ImageEditionBug Edit: I see that I can fix that myself now - thanks! I'll do what I can to help :) |
Bump: it is still present in 1.5.28 |
Discovered it is due to a miscalculation in SVG images with the current image editing system. |
Hi @Vintagemotors, I've initiated the rework of the ImageEdition feature in this commit. Feel free to build and test it using the following link: ImageEdition Commit. Please note that remote SVGs haven't been incorporated yet, so certain icons may appear black. Image classifications is inherently challenging, and perfection in rule definition is elusive. As of now, the rules are as follows:
Additionally, for images meeting specific criteria, a set of rules applies:
Another long set of rules specifically applies to logo transformations. Until the option is available UltimaDark now forces the websites to lazy load their images to enhance page load speed. Given the resource-intensive nature of image analysis and editing, this adjustment aims to optimize the overall loading time of the website. |
I was unable to produce a build that did not say it "appears to be corrupt". I tried both the build script and doing it manually as outlined on the wiki. Both had the same result. |
The images are never loading so probably don't release 1.5.37 yet. It's also failing to darken the page at all on Soundcloud with Firefox Developer Edition while that aspect is working fine on the updated version of Floorp for whatever reason. LogTypeError: can't access property "id", connectedPort.sender.tab is undefined background.js:1686:41 |
I know the build is very far from distribuable, i just wanted to save my work, it took days to get to this point 😅 |
I have good news ,I've identified and resolved the root cause of the sluggish performance in the image editing feature. |
Example: https://sourceforge.net/projects/abaguibuilder/
Not quite the same issue but close enough; eBay logo is lightened when UltimaDark is enabled: https://www.ebay.com/
The text was updated successfully, but these errors were encountered: