Image Bytes?

        I'm trying to figure out a way to retreive the actual byte values from a
TImage component. I don't want the (RGB) palette information but the
actual index/byte value as stored in the binary file. In Dos C you can
just get the index value and have fun, but Delphi windows makes it obtuse.
Is there anyone who knows of a function that can read the index/actual
byte in this format:

        index byte:=Image1.Canvas.Pixels[X,Y];

One idea I had was to create a RGB lookup table then scan that each time
you wanted a byte but that doesn't seem very speedy.