Use extractAlpha() for ~1000x speedup on layout