|
|||||||||||||||||||||||||||||
|
|
The lack of an unsigned integer type in Director creates difficulty in working with 32-bit pixels, as well as other tasks. This parent script uses list elements as integer places, so you can create a base 256 integer and access each 8-bit portion by accessing the list elements. Basic arithmetic and comparison operators are included. It also accomplishes base conversion. Execution is slow, but because it relies on lists, rather than strings, I expect it to be faster than string based methods. The slowness does make it impractical to use for converting images to a text friendly representation such as ASCII 85 encoding.
|
|
|