-
Notifications
You must be signed in to change notification settings - Fork 240
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
Color difference between avatars generated on mobile and desktop #394
Comments
Also meant to say, thank you, your libraries are great, much appreciated! |
Of course, there should be no differences. To help you better and to be able to reproduce the problem, I need the exact seed and other options that are used in your example. The operating system and browser version would also be helpful. |
Hi, thank you for the reply. The seed is: FViCMckurWzJok4mui4LBf9SQGAZnTsX9A1SppXDAnGm. Desktop device is Macbook Pro running macOS Big Sur, browser is Chrome: Version 120.0.6099.109 So the code snippet to be used to repro (This was done from a react app)
import { createAvatar } from "@dicebear/core"; ... const avatar = createAvatar(botttsNeutral, { return avatar.toString();
Let me know if you need any more information. Thanks again! |
Should be fixed with version |
Hi thanks for putting in the fix! I have tested and seems to work for certain cases but not all |
We are using @dicebear/core, and @dicebear/collection version ^7.0.1 for both
import { createAvatar } from "@dicebear/core";
import { botttsNeutral } from "@dicebear/collection";
...
const avatar = createAvatar(botttsNeutral, {
seed: walletPubkey?.toString(),
});
return avatar.toString();
...
For the same seed we are seeing different colors when rendered on mobile device and desktop device, both on chrome. (see both attached
![Screenshot 2023-12-18 at 18 11 41](https://private-user-images.githubusercontent.com/79837489/291359034-269613c3-b6bc-40f4-8ba8-554d50e97899.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MjAyNTM0MTgsIm5iZiI6MTcyMDI1MzExOCwicGF0aCI6Ii83OTgzNzQ4OS8yOTEzNTkwMzQtMjY5NjEzYzMtYjZiYy00MGY0LThiYTgtNTU0ZDUwZTk3ODk5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA3MDYlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNzA2VDA4MDUxOFomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTQxNjViYTk3OWQzNWE0ZDBlYTNmOWYzYzdiYWRiZWZlMzExMTU3YjEzZmM1OTAxOTEwOGI2OGJiNDRiOGZkZDgmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.3z8lXO4uv6epF-ZOfpQ0VRBPCznZloISa0q9_yYVZM4)
)
Presumably this is not as expected?
The text was updated successfully, but these errors were encountered: