if I do var rec:Rectangle = new Rectangle(0,0,10,10); var barr:ByteArray = imgObj.bitmapData.getPixels(rec);
the byteArray's size is 400 and not 100. why's that ?
if I do var rec:Rectangle = new Rectangle(0,0,10,10); var barr:ByteArray = imgObj.bitmapData.getPixels(rec);
the byteArray's size is 400 and not 100. why's that ?