toShrunkRgbaBytes

toRgbaBytes, averaged down by shrinkX columns and shrinkY rows as shrinkRgba does. The image converts a band of rows at a time, so a large scan drawn small never becomes one full-size RGBA array, and the pixel limit applies to the smaller output (#381).