User name:
Password:
Forgot password?
Create an account!
« back
Please log in to write a message.
2. Hanno (Apr 20, 2010 19.07):
Hi Josh, you are mixing up different ways to treat arrays. Have a look at your ArrayAdd function: it needs the whole array as first parameter and appends the second parameter to it. So you do not need to call ReDim Preserve before, and you have to put in your whole columns array as first parameter. Furthermore, you are filling your arrColorRows array for each row, and then trying to add it to the Columns array within your inner loop. So in fact each time you process a pixel, a whole new row is added. Hope that helps! Hanno
1. drape (Apr 19, 2010 01.00):
I'm trying to get the RGB values of every pixel in an image in to a nested array. I'm using the GDI Bitmap extension by David Rutten - wiki.mcneel.com/developer/rhinoscriptimageextension What am I doing wrong? Code is below and sample image is ttached Thanks, Josh Draper
Why are these buttons gray?