public Int32 ReadIndexUsingPixel(Pixel pixel, Byte[] buffer = null) { // reads the pixel from bitmap/buffer ReadPixel(pixel, buffer); // returns the found color return(pixel.GetIndex()); }
public Int32 ReadIndexUsingPixel(Pixel pixel, Byte[] buffer = null) { // reads the pixel from bitmap/buffer ReadPixel(pixel, buffer); // returns the found color return pixel.GetIndex(); }