[Seaside] aRenderer imageWithForm: error
Brian Brown
rbb at techgame.net
Sun Aug 10 23:58:12 CEST 2003
On Thursday, Aug 7, 2003, at 11:23 America/Denver, 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.
Yes, I hacked together JPEGImage and JPEGImports classes... I pass in
a directory and it imports all the jpegs in the folder in the image. I
then use it from seaside and don't have any of those wonderful 8 bit
gif issues. I don't have the code in front of me at the moment, but I
also added a couple of seaside methods to I could have
imageWithForm:width:height: and such as convenience. If anyone is
interested, let me know.
>
> 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