Bitmap in Cudafy

I tried to implement this part of the code in GPU using Cudafy but cudafy does not support bitmap type data. Converting Bitmap data to intarray cause overhead due to large computation.
I tried asking the question in and not getting any help!
How can I implement Bitmap in GPU? Atleast a useful resource would be helpful!

Color temp = InputBitmap.GetPixel(x, y);
double R = temp.R;
double G = temp.G * 255;
double B = temp.B * 255 * 255;
double A = temp.A * 255 * 255 * 255;
double depthvalue = A + B + G + R;

Answered it myself there