j
: Next unread message k
: Previous unread message j a
: Jump to all threads
j l
: Jump to MailingList overview
Joshua,
ImageMorph responds to #image (and #form) with the Form containing all the bits in the image. Once you have that form, you can access the pixels with #colorAt:, e.g. If counting the number of each different color is important, you might look at Form>>tallyPixelValues.
Cheers, Bob
On Fri, 29 Jun 2001 09:18:24 -0400 (EDT) "Joshua D. Boyd" jdboyd@cs.millersville.edu wrote:
I've been poking around the systems browser, and I've figured out how to load a jpeg into an ImageMorph. But, how to I get access to that jpeg, pixel by pixel (like to built a histogram of the image, for instance), and write it back to disk? Or is the ImageMorph the wrong way to go about this?
squeak-dev@lists.squeakfoundation.org