Well *cough* I've always wondered why we use a un-supported smalltalk based
decoder here versus relying on the
JPEGReadWriter2 which uses the JPEG libraries we bundle into the VMs. Maybe
you should to a quick performance test
and see how they compare?
On 2010-02-14, at 4:01 AM, laurent laffont wrote:
> Arghh it's almost done but I have a bug:
>
> SketchMorph fromStream:
> ('http://lh3.ggpht.com/_BvlW9mJ6MFc/R-p4PtCKitI/AAAAAAAAA1A/jySYN6rz_pc/DSC00801.JPG'
> asUrl retrieveContents contents readStream)
>
> fails: image format is not recognized.
>
> In JPEGReadWriter class >> understandsImageFormat
> aStream next = 16rFF answer false ???
> - aStream next answers a Character instance
> - 16rFF is a SmallInteger
> - both equals 255.
>
> What is the right way to correct that ?
>
> Laurent Laffont
>
>
> 2010/2/13 Mariano Martinez Peck <[email protected]>
> I think he talks about this one
>
> http://coweb.cc.gatech.edu/squeakbook/
>
>
> 2010/2/13 laurent laffont <[email protected]>
> Which web page ?
>
> Laurent Laffont
>
>
>
> On Sat, Feb 13, 2010 at 3:42 PM, Stéphane Ducasse <[email protected]>
> wrote:
> laurent have a look in the network chapter of the new blue book (collective
> book available on web page)
> because I do not remember but you could find some snippets going in the same
> sense.
>
> Stef
>
> On Feb 13, 2010, at 3:29 PM, laurent laffont wrote:
>
> > (SketchMorph fromStream:
> > ('http://code.google.com/p/pharo/logo'
> > asUrl retrieveContents contentStream)) openInWorld
>
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
>
> _______________________________________________
> Pharo-project mailing list
> [email protected]
> http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project
--
===========================================================================
John M. McIntosh <[email protected]> Twitter: squeaker68882
Corporate Smalltalk Consulting Ltd. http://www.smalltalkconsulting.com
===========================================================================
_______________________________________________
Pharo-project mailing list
[email protected]
http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project