Mine
public text v1 · immutable// create the data based on the provided values above
var bitmapData:BitmapData = new BitmapData(380, 380, false, 0xFF4DD339);
// create the matrix to offset the profile clip
var matrix:Matrix = new Matrix;
matrix.translate(190, 190);
// create bitmapData
bitmapData.draw(root.mProfile, matrix);
// convert the data to an array
var myImage:ByteArray = bitmapData.getPixels(new Rectangle(0, 0, 380, 380));