OK, I'll try to explain in yet another words:

I don't have a bitmap. I have an array of indexes, each index indicating a specific color in 256 color palette. I need to know how can I get the colors these indexes point to, and how to draw them on a TImage component.