Nov. 2, 2013
3:34 p.m.
Hi Sergi, On 02 Nov 2013, at 13:53, Sergi Reyner <sergi.reyner@gmail.com> wrote:
El 02/11/2013 11:25, "Stéphane Ducasse" <stephane.ducasse@inria.fr> escribió:
- Tried and somewhat succeeded in building my GUI with Spec, which apparently doesn't know about images. what do you mean about images.
JPEG files, mostly
It is trivially easy to open a JPEG (or GIF or PNG) and turn it into a Morph: '/Users/Sven/Desktop/test.jpg' asFileReference readStreamDo: [ :in | (JPEGReadWriter on: in) nextImage asMorph openInWindow ]. Maybe this is not directly available at the Spec level, I just donât know. HTH, Sven