back to Table of Contents


ShiftARGB (function)

Can be used to move each channel's intensity into another channel. This can be used for instance, to make the alpha channel visible by moving it into any color channel. Another application could be the reordering of channels, if images are saved in different endian models (big endian vs. little endian).


SYNTAX:

newImg& = ShiftARGB& (shan&, order$, minX%, minY%, maxX%, maxY%, mask&)

INPUTS:

order$ (STRING)

shan&, mask& (LONGs)

minX%, minY%, maxX%, maxY% (INTEGERs)


RESULT:

newImg& (LONG)


back to Table of Contents