GetPixelBilinear and no SetPixelBilinear
Hey there!
I have an Image and a color. When I click on this image I want to make all pixels of the very same or simillar colour change it to another one. I get clicked pixel with GetPixelBilinear and it all works, however later I realized that there is no SetPixelBilinear function. And GetPixel() only takes int as parameters, so does anyone know what can I do?
Secondary, I don`t think I`m checking pixels very smoothly, because I check each pixel, that surround one specific, and if it shares the same colour, I check all that surround it and so on. I created a list, that contains all checked pixels, and if i stepped on already checked, I skip. Even so, I dont think it`s a good way. Maybe somebody can recommend something better?
Thank you!
Comment
Your answer