JPEG issues

Bijan Parsia bparsia at email.unc.edu
Wed Dec 19 05:15:53 UTC 2001


On Tue, 18 Dec 2001, John M McIntosh wrote:

> >Why doesn't this do what I think it should do?
> >
> >HTTPSocket httpShowJpeg: 'http://www.movietickets.com/photos/00727201.jpg'
> >
> >If anyone has a fix that can make this work, I'd be obliged (It's 
> >for putting finishing touches on an upcoming Birthday present).
> 
> Well I get self error: 'JFIF marker expected' using the Smalltalk code.

It's missing all the standard JPEG headers.

> But did you try the JPEG plugin and see what happens.

I would be interested to know if this works.

> The other thing you could do is grab the image, and resave in your 
> favorite graphics tool and hope it demangles the JPEG stuff?

This worked, but not straight from a web browser. I had to go to a graphic
program (which is dumb!).

Andrew: are *all* photos from that site screwed, or only this one? If they
get thier pictures from a variety of sources it may be something of an
anomoly.

Cheers,
Bijan Parsia.





More information about the Squeak-dev mailing list