Hassaan Afzal
How to solve the this problem
Bitmap nb = new Bitmap(bp);
// create filter
CannyEdgeDetector filter = new CannyEdgeDetector();
filter.ApplyInPlace(nb);
pictureBox2.Image = nb;
Source pixel format is not supported by the filter.