Hi,

I load a PNG file using the code below:

pngPath :=  '/Users/Somefolder/UI-Theme.png' asFileReference.
forms := pngPath readStreamDo: [ :in | (PNGReadWriter on: in) nextImage ].
...

But I don't want to create this dependency with a file path.
I would like to be able to encode the image into a string and store it in a
class variable.
This way, every time I need the image, I decode the class variable back to
an image and use it. Something like that, I think.

Is it possible to do it? Do you have an example?

Thank you!!

Leonardo

Reply via email to