I would like to load 32-bit images (RGB+alpha) for use with GLUT/OpenGL.

 

I know GTK2HS has support for loading images, but does a standalone Haskell (wrapper) module exists for loading images?

 

PNG or TGA would be enough for me.

 

Yes, I could of course just use the GTK2HS OpenGL widget support, but I already have written most of my code on top of GLUT.

 

Or I could use the SDL wrapper, but that one does not work with GHCI under Windows.

 

Thanks,

Peter