err, pixelsOut = glu.ScaleImage(format, widthIn, heightIn, pixelsIn, widthOut, heightOut)
See glu.ScaleImageRaw for more details on the parameters accepted by this function.
Note that glu.ScaleImage()
expects data of type #GL_FLOAT
inside the pixelsIn
table. #GL_FLOAT
pixel
data will also be written to the return table pixelsOut
.
Please consult an OpenGL reference manual for more information.