IWeb Posted September 12, 2003 Posted September 12, 2003 Hello, I have to check the color of each pixel of a picture. Therefore I load the picture into an bitmap object and I check every pixel with the getPixel function. When I want to change a pixel I use setPixel. This works great except, that it is extremly slow. :( Does someone knows a better solution? thanks, Quote
*Experts* Volte Posted September 12, 2003 *Experts* Posted September 12, 2003 What are you trying to accomplish? Quote
IWeb Posted September 13, 2003 Author Posted September 13, 2003 (edited) I want to set pixels that are below a certain luminance (with HLS method), or that are in a color list (integer RGB values) to black and pixels that are above a certain luminance to white. It should somehow work much faster with a colormatrix (at least, I think so) but I don't know how to use a colormatrix. Edited September 13, 2003 by IWeb Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.