Skip to content
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

Different result in Firefox and Chrome with same image #122

Open
Fauphi opened this issue Mar 4, 2021 · 2 comments
Open

Different result in Firefox and Chrome with same image #122

Fauphi opened this issue Mar 4, 2021 · 2 comments

Comments

@Fauphi
Copy link

Fauphi commented Mar 4, 2021

I'm getting different palette results for the same image in Firefox and Chrome.
Is there a solution for this or are the results dependent on the browsers canvas implementation?

Image:

https://ibb.co/gVjQ9c8

Chrome:

"Vibrant", hex: "#c86886", population: 7
"LightVibrant", hex: "#da859c", population: 5
"DarkVibrant", hex: "#612336", population: 0
"Muted", hex: "#70283f", population: 0
"DarkMuted", hex: "#70283f", population: 0
"LightMuted", hex: "#752339", population: 0

Firefox:

"Vibrant", hex: "#bc5474"​​, population: 3
"LightVibrant", hex: "#f09cb4"​​, population: 2
"Muted", hex: "#ac4c64"​​, population: 1
"DarkVibrant", hex: "#5f2537"​​, population: 0
"DarkMuted", hex: "#6d2b3f"​​, population: 0
"LightMuted", hex: "#841434"​​, population: 0

vibrant version:

3.1.5 and 3.2.1

Thanks!

@danbulant
Copy link

@dukhevych
Copy link

Sometimes inconsistencies are quite huge. Is there a way to play with some settings to make it work as crossbrowser as possible?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants