Hi,
I need to obtain a monochrome bitmap, but I only found that method: https://www.b4x.com/android/forum/threads/monochrome-image-needed.23412/
THis has two downsides... First, the cod will not compile, I don't know why. I tried adapting it and yet it doesn't compile. Second, I understand what the code does and he analizes every single pixel and writes it to a new bitmap. BUT I believe that this method is slow, is there not a better method? If not, can anyone teach me what I am doing wrong with that code?
Thanks
I need to obtain a monochrome bitmap, but I only found that method: https://www.b4x.com/android/forum/threads/monochrome-image-needed.23412/
THis has two downsides... First, the cod will not compile, I don't know why. I tried adapting it and yet it doesn't compile. Second, I understand what the code does and he analizes every single pixel and writes it to a new bitmap. BUT I believe that this method is slow, is there not a better method? If not, can anyone teach me what I am doing wrong with that code?
Thanks