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

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

From: fsievert:uos at: 21-Aug-2001 19:54

> ->> str: find mold image "#" > == "#{000000}]" > ->> remove back tail str > == "" > ->> str: to-string load str > == "^@^@^@"
Forget my last email. I understand: You only want the rgb-values. But parser does not help with this:
>> im: make image! 1x1
== make image! [1x1 #{000000}]
>> parse im [str:]
== false
>> str
== {^@^@^@^@} The only advantage is that if you change the string, it will change the image. You can give it to library-functions with this trick. But you could also use
>> second third load mold im
== #{000000} CU, Frank