Web photo viewer
Tony Garnock-Jones
tonyg at lshift.net
Mon Nov 28 12:37:31 UTC 2005
Lic. Edgar J. De Cleene wrote:
> Changing mtethod to:
> asWebImage
> | aStream writer |
> aStream := RWBinaryOrTextStream on: ''.
>
> writer := PNGReadWriter on: aStream.
> [ writer nextPutImage: self ]
> ensure: [writer close].
> ^ MIMEDocument contentType: MIMEDocument contentTypeGif content: aStream
>
> Don't work
Is the problem that contentTypeGif should be something like contentTypePng?
Tony
--
[][][] Tony Garnock-Jones | Mob: +44 (0)7905 974 211
[][] LShift Ltd | Tel: +44 (0)20 7729 7060
[] [] http://www.lshift.net/ | Email: tonyg at lshift.net
More information about the Squeak-dev
mailing list
|