Code: // allocate memory for the convetr image dst=cvCreateImage(cvSize(src->width,src->height), src->depth,3); cvConvertImage(src,dst,CV_CVTIMG_FLIP);//convert image then cvShowImage...