Replies: 3 comments
-
Can you provide a complete code sample that reproduces this? |
Beta Was this translation helpful? Give feedback.
0 replies
-
I am very sorry, it seems I made a mistake in interpreting the output. For some reason I saw values below 255 and assumed they where wrong because of an error in a bit of related code that occurs later. |
Beta Was this translation helpful? Give feedback.
0 replies
-
No need to apologize, this happens to all of us 😁. Feel free to reach out if you have any other questions. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I am trying to get the dominant colors of an image, currently I have the following code:
I am using nuget 'Magick.NET-Q16-AnyCPU'
My problem is the following, the magicColor R,G,B,A properties are not always what i expect.
I would like RGBA values from 0-255 range, but thats not always what I get.
Not a problem but even on same image the values seem to be in another format. Sometimes I get RGB values of 0-255 but alpha is a value that ranges from 0 to 65535, another color in the same image I have RGB and A values that range from 0 to 65535.
Is there a consistent way to get the values I need?
Beta Was this translation helpful? Give feedback.
All reactions