Is there a clever and fast way to turn an array of RGB triads (each slot taking 
on uint8 values from 0-255) into a Form, or better yet treat it directly as a 
Form?  If I understand ColorForm correctly, it uses a map and the image 
"pixels" are indexes into same.  In this case, I would allocate a block of 
memory, hand it to a library, and it would blast the RGB values all over it.  
Do we have a ready way to use the result w/o having to loop over the individual 
values?

I am working on an interface to PLplot (http://plplot.sourceforge.net/).  It is 
working, but so far only if I save files to disk, which I would like to not 
*have* to do.  Sometimes (batches in particular), it makes sense to let the 
code that creates a graph save it, but I also like to do a lot of interactive 
plotting that should not have to hit the disk.

Bill



_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project

Reply via email to