Retrospective notes (Dec 2024): The project works ... somewhat. It seems to fail on darker colors? There should be a fix for this, but I'll keep the project untouched. Fixed incorrect display of test code due to Scratch 3.0. To be clear, this is not an efficient way to scan an image. All it does is go through every color and check if it is present in the image. This elimination process helps make the scanning process quicker by skipping colors that do not appear in the image. A more (if not the most) efficient way to scan images would be to do some kind of "binary search"? I'm no good at terms. I can't explain this well with words but essentially you eliminate useless info by doing two things: 1.) fading the picture, and 2.) scanning the picture in "fragments". I tried to do this once but lacked motivation and time. Although by now, there must be a project that already does this.
** This used to work before the Scratch 3.0 update, I don't have much free time focusing on fixing stuff :( ** Welcome to Pen Scanner & Printer! Instructions are given inside the project. This is the fastest I could get, but I recommend using Firefox for faster scan. Quality 3 = 480x360 2 = 240x180 1 = 120x90