glPixelZoom can be used to draw an image at a different size, or to flip it (using a negative zoom factor)
glPixelZoom(1, -1) glDrawPixels(img.size[0], img.size[1], GL_RGB, GL_UNSIGNED_BYTE, img.tostring())
Example: zoomImage.py