[Newbies] Re: Create own Morph

SonGuko son.guko at hotmail.de
Sat Dec 31 13:39:12 UTC 2011


hey,
so i answer myself for others:

step 1: drag your image in squeak
step 2: explore the created morph
step 3: go to the bitmap part of the morph and highlight it
step 4: print: self compressToByteArray
step 5: to create a new morph with the picture: ColorForm extent: (insert
your imagesize) depth: (insert your depth of the image) bits: (Bitmap
decompressFromByteArray:   #(insert your compressedToByteArray)) asMorph
step 6: profit :)



--
View this message in context: http://forum.world.st/Create-own-Morph-tp4088419p4248489.html
Sent from the Squeak - Beginners mailing list archive at Nabble.com.


More information about the Beginners mailing list