[REBOL] Re: need advice on parsing image data
From: deryk:iitowns at: 29-Apr-2001 11:41
Brett Handley wrote:
> Ah too easy. Thanks.
> ----- Original Message -----
> From: "Larry Palmiter" <[larry--ecotope--com]>
> To: <[rebol-list--rebol--com]>
> Sent: Sunday, April 29, 2001 8:01 AM
> Subject: [REBOL] Re: need advice on parsing image data
> > Hi Brett,
> > >write/binary %tf.jpg r/7/content
> > >view layout [image %tf.jpg]
> > >BTW I'd like to know how to display the image without having to write the
> > file first - anyone - please?
> > Using your example, you can say
> > im: load r/7/content
> > view layout [image im]
> > or even
> > view layout [image load r/7/content]
Might be too easy, but why is load even needed at all? if in this
example, r/7/content is set, known, and in memory.
view layout [image r/7/content]
Should be sufficient. I still have yet to wrap my head around rebol. I
know it is portrayed as an 'easy to learn, thought like' language but
some things like this still stump me. To me, the above layout line
would be the way I would think about writing it in human fashion.
-- Binary/unsupported file stripped by Listar --
-- Type: application/x-pkcs7-signature
-- File: smime.p7s
-- Desc: S/MIME Cryptographic Signature