I am trying to make a very simple program that is like a coloring book. It takes a black and white outline of a picture from a jpeg and lets the user fill of the spaces with color like a coloring book. I don't know any practical way to do this. My original idea was to put it on a bufferedimage and edit pixel by pixel but this was to hard on the computer I am using. Any help would be appriciated
It sounds like the first step would be to create the outline from the image. I think you'd need a line-detection algorithm for that. If this is a color picture it might produce additional spurious lines where there aren't really any. Do you have experience with this kind of image processing?
The second part (letting the user fill the outline) sounds easier. If you search for "flood-fill algorithms" or some such, you should find descriptions of algorithms that do that. those rely on the araes being completely separated from each other, though, so the line detection step before would need to work very well.
Ping & DNS - updated with new look and Ping home screen widget