ImageAdv.colorUsed | This page was last modified over 30 day(s) ago and has 0 comment(s)
|
Back to ImageAdv Class Summary |
Availability |
Windows, Mac OSX, Linux |
Usage |
mdm.ImageAdv.colorUsed |
Parameters |
Returns |
Number |
Description |
returns number of colors used in bitmap. NOTE: it returns 0 for 24-bit/32-bit color space - otherwise it returns exact number of colors used in 8-bit bitmaps (color palette) |
Notes |
readonly |
Example Code |
if(image.isValid) { var palletteColors:int = image.colorsUsed; }; |
mdm.ImageAdv Class Example Downloads |
No Example Downloads Available |
![]() |
Registered Users must be logged in to 'MyAccount' to add a Comment - Log In Here |
After Logging In, Click Here to Refresh This Page |