*contents := (StandardFileStream fileNamed: 'loop_icon.jpg') contents. encondedContents := (Base64MimeConverter mimeEncode: contents readStream) .*
That basically gives you the string you have to embed in a method... Cheers, Guille On Mon, Aug 30, 2010 at 9:42 AM, Alexandre Bergel <alexan...@bergel.eu>wrote: > > > > This looks useful; how do you turn an image into a method, though? > > Hi! > > Have a look at the class side of MenuIcons. There are a bunch of > import/export methods. > > Cheers, > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > > > > _______________________________________________ > Pharo-project mailing list > Pharo-project@lists.gforge.inria.fr > http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project >
_______________________________________________ Pharo-project mailing list Pharo-project@lists.gforge.inria.fr http://lists.gforge.inria.fr/cgi-bin/mailman/listinfo/pharo-project