Marshall Mathers wrote:To be honest with you, I was not taught how to create linked lists or any of the storage methods yet...
Which makes me wonder if this isn't a little advanced for you at the moment.
But leaving that aside for the moment, let's examine the problem:
You want to change A PIXEL from one colour to another. That should be pretty simple, no? So: create a method to do it
and TEST it - which might be a bit tough if your eyes are as bad as mine , but maybe not so terrible if your test panel has a black background.
The complexity of your problem, as I see it, is not in the actual changing, but in determining
what you want to change.
Now, not knowing much about the fuzzy logic of images, I can't help you much there, but once you've determined how to do
that, all
you should need then is a result that you can convert reasonably easily to a list of pixel positions that you need to change, and call the method you
already wrote and tested to do it.
TBH, I suspect that the "old" colour may be a red herring, because the "smarts" in this program are going to be in working out
what needs changing, not what colour it was; and then changing it to whatever colour you decide.
Sorry I can't offer more help, but I'm no GUI expert - but I would say that you're too bogged down in the
mechanics of this problem at the moment.
WhatNotHow (←click) - it's almost always the way forward when you get stuck.
HIH
Winston