My java code here: java.util.ArrayList arr = (java.util.ArrayList)getco_ordinate(width, height, x1, y1, x2, y2); java.awt.Point pp = (java.awt.Point)arr.get(i); int px = pp.x; int py = pp.y; java.awt.image.BufferedImage currentworkingprocessimage; getARGBPixelData(currentworkingprocessimage.getRGB(px, py)); /*method*/ public void getARGBPixelData(int pixel) { java.lang.String pixelARGBData = ""; a = pixel >> 24 & 0xff; r = pixel >> 16 & 0xff; g = pixel >> 8 & 0xff; b = pixel & 0xff; } every thing ok but problem line is : "java.awt.image.BufferedImage currentworkingprocessimage; getARGBPixelData(currentworkingprocessimage.getRGB(px, py));" there r no getRGB method in System.Drawing.Bitmap or System.Windows.Media.BitmapImage any option doing this
System.Drawing.Bitmap
GetPixel(x,y)
System.Drawing.Color
ToArgb
FromArgb
ToString
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)