Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: explanation, gurus? :-) (image memory representation)

From: petr:krenzelok:trz:cz at: 21-Aug-2001 17:52

> > Also, did you notice that image!'s data are stored > > internally in 32 bits ? > > We save out images with out the alpha channel and reconstruct > the alpha channel when reading images back in.
... weeee ... LIKE alpha :-))
> > > It would be great if more Rebol types were supported by the > > /library interface. (Image! should be my first choice!). > > The next Library revision will allow all string-series! types > to be passed where a library routine expects string!-- that > includes such types as image, binary, issue, email, etc.
OK, could you a little bit outline what is the difference in your example ( ), where you use struct! datatype and string being its first element to get pointer into rebol word, and sending the string to the library directly? We were successfull in modifying Rebol data in-place by sending the string directly, without the trick with using structure. What is the difference please?
> RETURING these types is a whole different issue, though. :-)
components, compiler, yeah yeah :-)) Cheers, -pekr-