Each color channel and alpha channel get a byte

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of maybe later...
Sent: Sunday, May 27, 2007 2:28 PM
To: [email protected]
Subject: [flexcoders] getPixels() returns byteArray bigger than
rectangle

 


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 ?

 

Reply via email to