[Haskell-cafe] Standalone PNG module?

Bjorn Bringert bringert at cs.chalmers.se
Thu Nov 8 11:33:51 EST 2007

On Nov 8, 2007, at 5:42 , Cale Gibbard wrote:

> On 06/11/2007, Peter Verswyvelen <bf3 at telenet.be> wrote:
>> 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.
> The Imlib2 binding (called Imlib-0.1.0) on Hackage provides the
> necessary tools to load and manipulate images in a variety of formats
> including PNG, but it's under-documented and a little rough and
> untested.
> I'm currently working on a new version with proper documentation, a
> number of bugfixes, and a somewhat more Haskellish interface.

The gd package also allows loading, manipulating and saving images in  
several formats, see


More information about the Haskell-Cafe mailing list