Finding a Photo's Main Colour in Swift: Why the Average Lies, and k-means in Lab Doesn'tDownsampling, a proper colour space, a seeded k-means, and a small scoring rule that picks the colour people actually see.Oct 30, 2026 · 12 min read · 1 view
Oct 27, 2026Oct 27, 2026 · 8 min read · 1 viewTiled Watermarks on iOS: Rotating a Text Grid Without Leaving Bare CornersA small geometry fix, a Core Graphics snippet, and the memory trap that bites when you process 100 photos in a row.8 min read · 1 view