thumnail problem.

Fausto Turrin faustogturrin at home.com
Wed Jul 4 23:13:10 UTC 2001


Please unsubscribe me and do not contact me again.
----- Original Message -----
From: "Karl Ramberg" <karl.ramberg at chello.se>
To: <squeak-dev at lists.squeakfoundation.org>;
<squeak-dev at lists.squeakfoundation.org>
Sent: Wednesday, July 04, 2001 5:42 AM
Subject: Re: thumnail problem.


>
>
> Vince Mazo wrote:
> >
> > ----- Original Message -----
> > From: "Ned Konz" <ned at bike-nomad.com>
> > To: <squeak at cs.uiuc.edu>
> > Sent: Tuesday, July 03, 2001 5:37 PM
> > Subject: Re: thumnail problem.
> >
> > > On Tuesday 03 July 2001 02:51, Vince Mazo wrote:
> > > > I want to display an image (gif or jpg) in a rectangle which size is
> > fixed.
> > > > MorphThumbnail seems tp be good but I don't want it to handle grab
> > event.
> > > > Moreover, I just want the image to be smaller in the thumbnail, if
the
> > > > source image is smaller than the thumbnail, it should not be
resized...
> > > >
> > > > Is there a better morph to do that? Or what should I do to make the
> > morph
> > > > work better?
> > >
> > > I don't know what you mean by 'don't want it to handle grab event'. If
you
> > > don't want someone to drag it around, just make it sticky.
> > >
> >
> > It means that I don't want it to "launch" the real morph(I just need the
> > thumbnail picture).
> > I ' ve played around with InterpolatingImageMorph but I'm not too sure
about
> > this one...
> > (it seems quite slow with jpeg)
>
> Why not a use a SketchMorph and scale it down ?
>
> image _ SketchMorph withForm: (From fromUser)
> image _ extent: 100 at 100; openInWorld.
>
> Karl
>
>





More information about the Squeak-dev mailing list