Image color information is not complete
For this example image:
I'm getting only one color in admin API instead on 2 colors which are clearly visible in SVG. Even viewing this SVG in text editor reveals 2 fill colors.
Is there perhaps some threshold for color to appear in list of colors? And if so is there an option to lower this threshold?
-
Hi Zeljko,
When you request the "color" information from the API, the data returned is our detection of the predominant colours of the image, but it's not a listing of all colours in the image, nor the top "X" colours when sorted by number of pixels.
It's not possible to adjust the analysis to include all detected colours or set 'thresholds' for what should be included I'm afraid; in this example, the image is mostly the blue colour, and the small percentage of grey also isn't enough for us to categorise this as being a 'grey' image
Regards,
Stephen
0 -
Hi Stephen,
Thanks for clarification.
0
Post is closed for comments.
Comments
2 comments