please note that its not required to covnert a png to a method source if you use git because git can handle versioning binary files just fine. All you have to do is access your local github-cache and retrieve the image from there (assuming the image has been added to your github repository).
>From there one is just a matter of using Form fromFileNamed: aStringPathToYourPNG if you dont use git, use Peter's IconFactory. On Tue, Dec 22, 2015 at 3:12 PM Alexandre Bergel <[email protected]> wrote: > Hi! > > A couple of month ago the following expression was working: > ThemeIcons new createIconMethodsFromFile: 'cube' directory: > '/Users/alexandrebergel/Desktop/cube’ > > Now it does not. How can I import .png files in Pharo? > > Cheers, > Alexandre > -- > _,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;: > Alexandre Bergel http://www.bergel.eu > ^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;._,.;:~^~:;. > > > > >
