Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Unexpected RGB values

 
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