Post Reply 
Color value from GETPIX_P returns unexpected result
02-02-2016, 03:47 PM
Post: #6
RE: Color value from GETPIX_P returns unexpected result
(02-02-2016 01:25 PM)alexgt Wrote:  I was thinking about using a string, but if I had a 500x150 world I would have to have a string 75000 in length, and accessing rows would suck >.<

Why? 75000chars*2 bytes, will be much smaller then a graphical representation.

my_string:="1234"
mystring(3) --> 3
mystring(3):="4" ->"1244"

That last one will even do direct access to the string - no memory allocations involved - so it should be rather fast too.

TW

Although I work for HP, the views and opinions I post here are my own.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Color value from GETPIX_P returns unexpected result - Tim Wessman - 02-02-2016 03:47 PM



User(s) browsing this thread: 1 Guest(s)