Bernard's solution works. You could write C4 instead of CCCC and if you want to see some result, you could convert it to hex values, because you can't see NULL values without converting them.

  put "0,206,0" into tColors
  put item 1 of tColors into c1
  put item 2 of tColors into c2
  put item 3 of tColors into c3
  put binaryEncode("C4",0,c1,c2,c3) into varNewImageData
  get binaryDecode("H*",varNewImageData,x)
  put x

Best,

Mark

--

Economy-x-Talk
Consultancy and Software Engineering
http://economy-x-talk.com
http://www.salery.biz

Get your store on-line within minutes with Salery Web Store software. Download at http://www.salery.biz

Op 16-dec-2006, om 18:21 heeft Bernard Devlin het volgende geschreven:

Bryan,

put "0,1,0" into tColors
put item 1 of tColors+0 into c1
put item 2 of tColors+0 into c2
put item 3 of tColors+0 into c3
put binaryEncode("CCCC",0,c1,c2,c3) into varNewImageData
put varNewImageData

works for me insofar as it will put some binary gibberish into the msgbox. Are you sure that at least 1 item in tColors is non-zero?

I have never used imageData or binaryEncode, so maybe I am not appreciating your problem.

Bernard
_______________________________________________
use-revolution mailing list
[email protected]
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to