Steps: - click green flag and admire the picture, then press space - press arrows (left, right) to get desired backdrop - press space to input value for pixel size; only 1, 2, 3, 4, 5, 6, 8, 10, 20 - hooray we get to sit through a scan - voila, picture - variable at top is just the time in seconds that it took to scan.
Concept derived from project i don't remember, just search camera and its the one with red squares called "camera scanner" i think. All programming was done by me. The way it works is it scans the entire screen for every color that exists on the screen. We do not know where the colors that we find are located, but we now know what to look for. This keeps the scanner during the scanning process from having to scan through millions of colors that aren't even in the image, thus shortening the time dramatically. It naturally goes faster on some colors more than others. If the image has any of the following colors, it will naturally check in this order: 1.) Black, 2.) Blue, 3.) Green, 4.) Cyan, 5.) Red, 6.) Purple, 7.) Yellow, 8.) White Other ways to improve speed not featured here: - Divide the workload into quadrants using clones - Scan the screen for rough brightness locations to prioritize the scanning process to start on black or white (you will see here that it plows through dark colors and gets slow on whites, this is because it always starts at black and works up by default, meaning white is the last color it checks for)