[Pharo-users] How to store an image file as a method source

Dimitris Chloupis kilon.alios at gmail.com
Mon Oct 26 09:40:30 EDT 2015


thanks Peter it  works like a charm :) I will your tools , very useful.

On Mon, Oct 26, 2015 at 1:30 PM Peter Uhnák <i.uhnak at gmail.com> wrote:

> I use IconFactory (which I wrote for this purpose) (
> http://smalltalkhub.com/#!/~peteruhnak/IconFactory or Catalog Browser ),
> it works in the same way as Pharo icons (base64 representation of the image
> which is then converted to a Form object).
>
> Catalog browser offers also ExternalIconFamily but I have no knowledge of
> that. But I remember that someone was working on referencing external
> files, so maybe this is it.
>
> Peter
>
> On Mon, Oct 26, 2015 at 11:28 AM, Dimitris Chloupis <kilon.alios at gmail.com
> > wrote:
>
>> So how you guys covert image files to strings to be stored as method
>> sources ?
>>
>> I want to make a custom GUI that will contain a lot of images and I am a
>> bit on a dilema whether I should put the images as method source as we do
>> already with pharo icons OR just link to external files and find how I can
>> download those files from Pharo.
>>
>> No idea whats the best course of action . Any suggestions ?
>>
>>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.pharo.org/pipermail/pharo-users_lists.pharo.org/attachments/20151026/74948b4c/attachment.html>


More information about the Pharo-users mailing list