NAME MPGreyToPal -- Convert GreyScale image to a palette (V7) SYNOPSIS MPGreyToPal( MPp,maxcol,pal ) A0 D0 A1 void MPGreyToPal ( struct MPProcess *,ULONG,UBYTE *,BOOL); FUNCTION Convert Grey to a palette. INPUTS MPp - Contains (in Read) the GreyScale chunky pixels and the Width and Height maxcol - The number of colours in the palette. pal - The palette. This is a 768 byte array. r[0] to r[maxcol] hold the Red palette r[256] to r[256+maxcol] hold the Green palette r[512] to r[512+maxcol] hold the Blue palette RESULT The data pointed to by MPp->Red is updated to the palette mapped image. EXAMPLE NOTES BUGS Not tested. SEE ALSO MPRGBToPal().