Hi list,

I have a simple Imaging Lingo problem.

When using the getPixel-command with an 8-bit image, the result is something
like that:

paletteIndex( 105 )

Now I want just the integer value of the index. In this case 105.

I can have that using

value(string(x).char[15..17])

Is there a faster / more straightforward was to achieve this?


Thanks
Michael

[To remove yourself from this list, or to change to digest mode, go to 
http://www.penworks.com/lingo-l.cgi  To post messages to the list, email 
[EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED]). Lingo-L is for 
learning and helping with programming Lingo.  Thanks!]

Reply via email to