[futurebasic] Re: [FB] Trillions of Colors

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : May 2004 : Group Archive : Group : All Groups

From: Robert Covington <artlythere@...>
Date: Thu, 27 May 2004 00:58:36 -0400
On Wednesday, May 26, 2004, at 11:05  AM, Alain Pastor wrote:

> tedd wrote:
>> Hi gang:
>> Can anyone tell me what's going on with the "new" (new to me that is) 
>> color values. The old colors were pretty simple, RBG with values that 
>> ranged from 0-255 (00-FF) -- three bytes making millions of colors 
>> (i.e., 255 x 255 x 255 = 16+ million).
>> However, the new colors range (six bytes) of RGB are from 0-65535 
>> (0000 -- FFFF) and not 0-255  -- what's up with that? Anyone have any 
>> reference or explanation as to why -- the new color thing is easily 
>> going beyond human perception.
> It sounds like we are preparing devices for ETs; but I bet someone 
> would say it is a conspiracy theory since we've only heard about 
> Little Greys around here.
> Alain

That's funny as to little grays....if you claim to see an alien, and it 
isn't "Communion" (the book) gray big-slant eye style now, of hive 
brain/mind, it's not a real alien.

And this is for something nobody's yet even agreed on yet as being 
there. :) Big conspiracy behind it all, eh . :)

Many apps just convert via lookup table from 0 - 255   to 0 - 1.0  and 
then stay in floating land until render time. I don't think any one 
rounding in a filter is a problem perceptually (usually), it's when you 
have several effect applications that pile them up that you can get the 
problems. But a bad rounding job can whack things on a one-passer.

For instance, in my scaling routine, going down to 92 percent, if 
_RoundUpFloat2Long  in UserFloatPrefs isn't enabled, I get  pixel rows 
in a test image of 23,23,23,24,23,23,23,24 and so on...this actually 
makes for a visible moire pattern.

Having that _Roundupfloat2long enabled, now they are all the proper 
24,24,24,24 all across.

GraphicConverter has that moire-ing (at least when using his older 
non-QT routines).