I have an indexed bitmap that I need to convert to a black and white (monochrome, not grayscale). How can I apply some custom threshold to it? For example, i want all pixels that are less than some thresholds to be white, others black?
Hi, I also indexed bitmap that I need to convert to a black and white and want all pixels that are less than some thresholds to be black.I implemented the code as shown below,but it does not work well.What can I do for this and how can I fix the issue? Thanks!