buffer_rgba() & reversed image.


I currenly try to write a backend for win32 based on gecko (mozilla gecko plugin / XPCOM component).
I use the PIL module to build an Image object from the canvas buffer (buffer_rgba(0, 0) method).
When I ask this image to show with image.show() from the PIL.Image module, the image is mirrored according to the y dimension.
(0,0) is at the top left corner, text is reversed.

Can I generate the image with the correct direction ?
Can I reverse the image from matplotlib or have I to use some PIL (or others) methods ?

Thanks a lot,