descriptionForPartsBin

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

descriptionForPartsBin

Konrad.Krentz

Hi,

 

I’m looking for a way to create preview for my project using the “fromArray” parameter.

 

But I don’t know how to convert a picture to an array.

 

Thanks

 

Konrad


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners
Reply | Threaded
Open this post in threaded view
|

Re: descriptionForPartsBin

Robert Krahn
Hello Konrad,

you can use #storeString to get a ByteString description of an object. With #readFrom: you can then reconstruct this object.
For example if you have a Form f use

string := f storeString 

and 

Form readFrom: string

Hope that helps,
Robert


Am 12.07.2007 um 21:22 schrieb Konrad.Krentz:

Hi,

 

I’m looking for a way to create preview for my project using the “fromArray” parameter.

 

But I don’t know how to convert a picture to an array.

 

Thanks

 

Konrad

_______________________________________________
Beginners mailing list


_______________________________________________
Beginners mailing list
[hidden email]
http://lists.squeakfoundation.org/mailman/listinfo/beginners