[Newbies] Re: Loading in images

Levente Uzonyi leves at elte.hu
Wed Dec 8 21:43:37 UTC 2010


On Wed, 8 Dec 2010, awood969 wrote:

>
> Thanks Ken,
>
> Yes I just figured that bit out I was meaning more in code to load the image
> up as a Morph of some description?

Try

SketchMorph fromFile: '<yourImageFileNameHere>'

or

(ImageReadWriter formFromFileNamed: '<yourImageFileNameHere>') asMorph


Levente

>
> Thanks
> Andrew
> -- 
> View this message in context: http://forum.world.st/Loading-in-images-tp3079106p3079144.html
> Sent from the Squeak - Beginners mailing list archive at Nabble.com.
> _______________________________________________
> Beginners mailing list
> Beginners at lists.squeakfoundation.org
> http://lists.squeakfoundation.org/mailman/listinfo/beginners
>


More information about the Beginners mailing list