Converts any indexed format to any indexed format.
procedure IndexToIndex(NumPixels: LongInt; Src: PByte; Dst: PByte; SrcInfo: PImageFormatInfo; DstInfo: PImageFormatInfo; SrcPal: PPalette32; DstPal: PPalette32);
ImagingFormats (at line 291)