windows - Keep only red channel of an image using GDI() -


i had color image made grayscale copying red channels i.e, first 8 bits of rgb(24bit). done processing required image grayscale.after processing have display image on screen using gdi. have copy put gray values red chanel of final output. setpixel(i,j,rgb(grayvalue,0,0)). how achieve using gdi?

as suggested david, been solved solution mentioned in following thread display red channel of image using gdi


Comments

Popular posts from this blog

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -

python 3.x - Mapping specific letters onto a list of words -