Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Unexpected RGB values  RSS feed

 
Sahil Reddy
Ranch Hand
Posts: 145
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Savvy pals

I made one RED vertical line in mspaint with .bmp extension. I tried finding values of RGB components in Android Programatically. I expected results to be just 255,0,0 for RGB components.
But i get many other values as well. Please let me know where i am doing wrong....

Here is the formula i used



Regards
 
Aleksey Vladimirovich
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Try something like this:
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!