After we write the pixels in the correct format, the color type of the SkPixmap is still set to its previous value, so the existing assertion was failing.
After we write the pixels in the correct format, the color type of the SkPixmap is still set to its previous value, so the existing assertion was failing.