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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -