Help with GetColorAt(x, y) in c#
Posted: Sun Feb 20, 2011 12:56 am
Hello,
I am trying to create a program in c# for reading the ink content of pdf files. What I plan to do is convert the pdf to a gflax bitmap and then read each pixel to get total ink coverage. I have done everything up to getting the color at a certain pixel.
When I do:
It returns an 8 digit long value. My question is, how can I convert this to an RGB value?
Thanks,
Thaje
I am trying to create a program in c# for reading the ink content of pdf files. What I plan to do is convert the pdf to a gflax bitmap and then read each pixel to get total ink coverage. I have done everything up to getting the color at a certain pixel.
When I do:
Code: Select all
g.GetColorAt(x, y)
Thanks,
Thaje