Posted: Thu Nov 15, 2007 9:38 pm Post subject: Re: pic creator
Thats just it.
Storing each RGB value as a binary integer, makes the file almost 10x the size of the original bmp.
Storing a pixels each rgb value as a modified integer, using 9 as a split, makes it only about 5% bigger, but converting a 300x300 photo takes almost 20 minutes.
I attempted to use strings, a 100x100 photo wound up as a 30 mb tbm file......
So i thought about using boolean like basic binary, so as if first one is true then add 1 to r value and if the next 2 and then 4 and so on. But booleans are a byte each, not a bit, so I wound up with the same problem, of a ridiculous oversized file compared to the original bmp.
I was thinking of reals and storing as many values as possible, but that as calculated, makes them too big AGAIN......