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

Colours not importing properly #35

Open
vFantum opened this issue Nov 14, 2021 · 4 comments
Open

Colours not importing properly #35

vFantum opened this issue Nov 14, 2021 · 4 comments

Comments

@vFantum
Copy link

vFantum commented Nov 14, 2021

I spent a lot of time recreating a middle piece for a pattern that already existed with corners only, only to import the image from photoshop in which i used the picker tool to get the colours from the original pattern, but the hex code does not match. This would not be such a big issue for me if i could simply change the colours on the top and have it change the already placed colours like it does in the actual game, but this doesn't even work either if i put down colours using the top of the ui, then change the colours after placing them.

I also can't turn off the grid, which makes colour matching similar colours extremely frustrating.

@FluffyFishGames
Copy link
Owner

The behaviour of the top bar is as intended (by design).
If you add an image with more than 15 colors the tool will pick 15 colors which will have the least loss by the depiction of the human eye. Import an image with the correct resolution and max 15 colors and the tool shouldn't change colors.

@vFantum
Copy link
Author

vFantum commented Nov 15, 2021

The behaviour of the top bar is as intended (by design). If you add an image with more than 15 colors the tool will pick 15 colors which will have the least loss by the depiction of the human eye. Import an image with the correct resolution and max 15 colors and the tool shouldn't change colors.

I imported a design i made using photoshop, using colour picked colours from another design. It definitely isn't over 15 colours because i dumped the in game pattern that i colour picked directly from NHSE

@FluffyFishGames
Copy link
Owner

The quantization won't be applied to images with less than or exactly 15 colors. Do you export it as QR code afterwards to import it into the game? Color changes are then expected. I don't know where your error comes from. You are free to look up the source code and see the quantization code yourself.

@vFantum
Copy link
Author

vFantum commented Nov 16, 2021

The quantization won't be applied to images with less than or exactly 15 colors. Do you export it as QR code afterwards to import it into the game? Color changes are then expected. I don't know where your error comes from. You are free to look up the source code and see the quantization code yourself.

i don't understand how there can be more than even 10 colours, I colour picked directly from a pattern i dumped from i save file using nhse in photoshop and then exported the png and imported it to the program

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

2 participants