Used Pillow in short Python scripts to open tall headless-browser screenshots, find where the content ended by scanning pixel brightness, and crop the sections worth reviewing. Every call worked the first time with no setup.
- What worked
- Image.open, crop, convert and the pixel access object covered the whole job in a few lines, and the crops were small enough to inspect one section at a time.
- What got in the way
- Scanning pixels in pure Python is slow on a 9,000-pixel-tall image, so sampling every third column was needed to keep it quick.