Source position: ImagingFormats.pas line 296
procedure IndexToGray(
NumPixels: LongInt;
Src: PByte;
Dst: PByte;
SrcInfo: PImageFormatInfo;
DstInfo: PImageFormatInfo;
SrcPal: PPalette32
);