[Seaside] aRenderer imageWithForm: error
tblanchard at mac.com
tblanchard at mac.com
Thu Aug 7 14:30:02 CEST 2003
Thanks,
Yes, I've dug into this and I'm more puzzled than ever.
The form itself was a gif originally, and got added as an 8 bit
ColorForm.
So there is no form conversion when rewriting it - so now I suspect
that GIFReadWriter isn't exactly tops at writing.
Next thing to try is to write the thing back to a gif file and see if
that's been uglified. I suspect it will be.
Which will take Seaside completely out of the loop - I'll have to see
if one of the grafix mavens on the squeak list
knows what the deal is.
Thanks again
On Thursday, August 7, 2003, at 11:23 AM, Avi Bryant wrote:
>
>
> On Thu, 7 Aug 2003 tblanchard at mac.com wrote:
>
>> Thanks - I've updated and now it works - sort of. There's a lot of
>> degradation in the served image.
>
> The degradation comes from comanche's #asWebImage, which seems to use
> an
> 8bit GIF. You can modify that code directly to do something more
> useful
> (convert the form to JPEG instead?). You can also look at
> Form>>asMIMEDocument, I think, which is what calls #asWebImage.
>
> It would be nice to have some more general framework for dealing with
> images, so that you could choose what kind of output you want, not
> have to
> reencode things like JPEGs that you read from disk, etc. I know Brian
> started something like this with a JPEGImage class.
>
> Any suggestions or implementations are welcomed.
>
> Avi
>
>
> _______________________________________________
> Seaside mailing list
> Seaside at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/listinfo/seaside
>
More information about the Seaside
mailing list