Home Returns the index of the color in the palette of the image which is "closest" to the specified RGB value
Reply: 0

Returns the index of the color in the palette of the image which is "closest" to the specified RGB value

Chameera Subasinghe
1#
Chameera Subasinghe Published in 2018-01-12 03:28:29Z
$index = imagecolorclosest ( $newim, 217,217,217 ); 

Docs says that this returns the index. (Returns the index of the color in the palette of the image which is "closest" to the specified RGB value). What is the meaning of the index?? Can someone explain. I'm porting a php code to java (open cv).

You need to login account before you can post.

About| Privacy statement| Terms of Service| Advertising| Contact us| Help| Sitemap|
Processed in 0.3514 second(s) , Gzip On .

© 2016 Powered by mzan.com design MATCHINFO