Gif color range

I am developing an application in which i need to identify all colors within a gif image. At the moment when i return the values of all the colors using the .getRGB() method i get a negative intiger value for each color.

How does this integer value relate to the RGB value?

Do these integers sequentially represent the sequential RGB values? E.g. int range from x to y may represent all possible blue colors, etc.

Any help would be greatly appriciated.

Many thanks!

[496 byte] By [asm1.projecta] at [2007-11-27 1:45:00]
# 1
My guess is that the most significant byte represents the opacity (alpha)factor of the colour which also takes values in the range [0,255].kind regards,Jos
JosAHa at 2007-7-12 1:04:48 > top of Java-index,Java Essentials,Java Programming...