avi.bryant at gmail.com
Sat Mar 19 01:57:25 UTC 2005
On Fri, 18 Mar 2005 20:50:59 -0500, Ron Jeffries <ronjeffries at acm.org> wrote:
> On Friday, March 18, 2005, at 4:03:12 PM, Ned Konz wrote:
> > I don't mean to make it too simple, but:
> > t := TextMorph new
> > backgroundColor: Color white;
> > beAllFont: ((TextStyle named: 'BitstreamVeraSans') fontOfSize: 36);
> > contentsAsIs: 'BitstreamVeraSans';
> > yourself.
> > GIFReadWriter putForm: t imageForm onFileNamed: 'textGifTest.gif'.
> And why not make it simple? Is there some rule that this stuff has
> to hurt? :) Thanks!
And on the off chance (since you mentioned Seaside) that you're using
this within a web app - you can just do this wherever you want it to
html imageWithForm: t imageForm
Seaside will take care of generating the GIF, assigning it a URL, and
putting that as the src of your img element.
More information about the Squeak-dev