Marc, Can I ask exactly what this is for, what exactly are you trying to do, and how this is grasshopper related? From the links you posted, I would guess that all you need to do is write a function that reduces 8 bit RGB space down to something with fewer potential colors. All that winds up being is a function which the second link pretty much has there for you. Or are you trying to do something similar to Adobe's Live trace and then take those different "areas" and go wild with them. Those are two VERY separate operations, since the first is simply concerned about color A becoming color B, but the "live trace" one involves image analysis, vector approximation from pixel boundaries, and a whole bunch of other stuff I'm probably not thinking about.
As to additional imports, just to deal with the image itself and read the pixels you shouldn't have to do that at all as the System.Drawing namespace is already among the default imports. The MATLAB stuff is much different, and I can't really help you much there. Best, Damien On May 8, 9:46 am, Marc Syp <[email protected]> wrote: > Hey guys... I am trying to find a way to take a JPG image and reduce > it to an approximation made by a specific number of colors. I found > the following text which seems to be in the right direction. Is this > something I can do in VB.NET with a Custom Import? I would like to > use the dithering option. How would I go about constructing this in > VB? > > Thanks, > Marc
