toPremultipliedRaster

The pixels as ARGB with each colour channel premultiplied by the alpha, as they are kept. A browser canvas keeps the same 8-bit values, so its getImageData reads from these.