Best way (morph) for working with pixels
Hannes Hirzel
hirzel at spw.unizh.ch
Wed Feb 20 20:05:11 UTC 2002
On Wed, 20 Feb 2002, Hans N. Beck wrote:
> Hi,
>
> which morph may be the best for the following problem:
> I want to read a picture from file (bmp, gif) and then
> manipulating the picture pixel for pixel, i.E. for
> implementing special picture operations.
>
There is a receipe on the Squeak Swiki
http://minnow.cc.gatech.edu/squeak/1917
Access a jpeg File Pixel by Pixel?
It works with forms. Check out as well
http://minnow.cc.gatech.edu/squeak/697 (Form)
and
http://minnow.cc.gatech.edu/squeak/2191
ThumbnailMorph
An ImageMorph has an instance variable 'image', which can be accessed
with the method #form.
ImageMorph is a subclass of Morph and has 20 subclasses.
Regards
Hannes Hirzel
More information about the Squeak-dev
mailing list
|