[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: AST - Vision Plus LRO/New Concepts



Adam Barr writes:

>how many colors does the allison raw image files have? Any way to make 
>that in to a gif with more than 16 colors?

Allision raw image files can have up to 4096 colors in them.  The most
I've ever seen is around 3500, though.   

Making a gif with them?  Sure.  Write some software to expand the color to
eight-bits, save it as an RGB raw image, then load it into Photoshop or
some other program that treats raw images with respect (PaintShop Pro is
the cheapest that I know of).   Writing the software to expand the color
to eight bits is simple.  If you want to do it brute force, just make a 16
entry look-up table whose entries are the eight-bit equivalent of four-bit
color.  See below...

Entry       Value
0                00
.                 .
.                 .
F                FF

Filling in the blanks is an exercise for the reader!  :-)

Take care,

Scott
--
Life is a sport.  Lap it up!
"...No I'm not all me so please excuse me while I tend
to how I feel...Momma they try and break me."
                     -- Metallica "Hero of the Day"