Archive Blog Cast Forum RSS Books! Poll Results About Search Fan Art Podcast More Stuff Random Support on Patreon |
New comics Mon-Fri; reruns Sat-Sun
|
1 {scene: the entire four panels of photos and the text area above them is filled with a beige colour}
4 Me: (unseen under the blanket of beige pixels} Bloody software! What do you mean, "Can't undo flood fill"?
First (1) | Previous (476) | Next (478) || Latest Rerun (2656) |
Latest New (5315) First 5 | Previous 5 | Next 5 | Latest 5 Me theme: First | Previous | Next | Latest || First 5 | Previous 5 | Next 5 | Latest 5 This strip's permanent URL: http://www.irregularwebcomic.net/477.html
Annotations off: turn on
Annotations on: turn off
|
This actually happened to me once when making a strip. Fortunately my software does have an undo feature that works, but if it didn't you might have seen this one earlier...
Typically, graphics programs (such as Photoshop) have a "colour tolerance" parameter which the user can set. If the tolerance is 0, then only pixels of exactly the same colour as the clicked pixel are filled with the replacement colour. In the blue sky example, the surrounding pixels, while close in colour, are unlikely to be exactly the same, so the fill won't spread very far, if at all. But if the tolerance is set to something like 20%, then it might pick up all the blue sky, but not the white clouds or the green grass. If you raise it to, say, 50%, it might start colouring in the white clouds as well. And at settings close to 100%, the flood fill will affect almost everything in your original image.
Wikipedia has an article on flood fill, but it's currently a bit too technical, including algorithms for how to implement flood fill on a computer, but somewhat short on a simple explanation of what flood fill actually is.
LEGO® is a registered trademark of the LEGO Group of companies,
which does not sponsor, authorise, or endorse this site. This material is presented in accordance with the LEGO® Fair Play Guidelines. |