[Seaside] html images

Dan Shafer dan at shafermedia.com
Sat Jul 8 22:45:31 UTC 2006


I'm no expert, but I can share the experiences of a colleague who has  
been evaluating Squeak primarily from the  perspective of its  
usefulness for building a graphically intense application.

He experimented with PNGReadWriter and with ImageReadwriter and  
reported both of them distorted images pretty badly. (His  
characterization). He concluded after some effort that Squeak cannot  
be used for the kind of app he had in mind. I've seen/heard rumblings  
from time to time on the main Squeak list that the graphics engine in  
Squeak doesn't lend itself well to antialiased rendering of text and  
images but I've had zero experience of my own with it.

Dan

On Jul 8, 2006, at 1:22 PM, Frank Sukhu wrote:

> Greetings,
>
> I have some code that generates html with an embedded image <IMG>.   
> I have
> tried two ways of doing this:
>
> Option 1.   html imageWithForm: (ImageReadWriter formFromFileNamed:  
> fn).
>
> Option 2.   html image: fn.
>
> where 'fn' is the pathname of the jpg file in my filesystem, e.g.,
> "/foo/bar.jpg".
>
>
> When I use Option 1, the resulting image is very grainy - almost  
> unusable.
> Option 2 produces good results.  I am trying to figure out why this  
> is the
> case.
>
> Why is it that ImageReadWriter produces such a poor image when  
> compared to
> the exact file being served by the httpserver?
>
> I would appreciate any clues or pointers.
>
> Thanks,
> Frank
>
>
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/cgi-bin/mailman/listinfo/seaside



More information about the Seaside mailing list