I NEED HELP! gluScaleImage

Is there anyone who can explain me how
the gluScaleImage works?

What should be the pixel format if I use
GLfloat for the RGB values?