[Newbies] jpg woes

Brian Mason bmason at itassociates.com
Tue Jul 21 04:58:48 UTC 2009


Greetings,

 

I am trying to take an image off the new and save it to a file.  This is
what I have so far:

 

(FileStream newFileNamed: 'test.jpg')

                nextPutAll: ('http://freetalklive.com/images/amondson.jpg'
asUrl retrieveContents) getContentFromStream;

                close

 

The image exists, is found, and the file is written.  There is something
wrong with the format of the local jpg.

 

I would appreciate some guidance.

 

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/beginners/attachments/20090720/0a03d023/attachment.htm


More information about the Beginners mailing list