2
Answers

Is there a fast way to convert a bitmap image to a grayscale or binary image?

Sandy Lai

Sandy Lai

17y
2.1k
1

I have tried the getpixel method, and averaged the RGB components to get a gray scale value in for every pixel. This takes a few seconds as it goes through every pixel. However, for my application, time is critical. I am wondering if there is a fast way to achieve it. Thanks.

Answers (2)