Making an extension for every JavaScript exclusive feature I can think of!

I made that a looong time ago, using number arrays to store image data was the best I could come up with then. So it’s not out of the question that the method for storing images could be improved and optimized

2 Likes

Richard explained on stream that the ofBuffer function is a very complicated function that is used to store images such that they are page aligned in memory, making them faster. I do not think I’ll add it to this extension. Eventually, if you are using advanced functions like that. you should just switch to JavaScript.

2 Likes

wait so ofbuffer can store a image into say “medhsnxhnx” something like this or "myimage’

No. I wrote wrong. ofBuffer is only for decoding. There is no exposed function for encoding. You have to copy that part from somewhere else (watch stream to figure that out I guess)

2 Likes