Re: Load image for texture mapping

Balazs Komuves <[email protected]> Sat, 5 Mar 2011 14:28:08 +0100
Newsgroups gmane.comp.lang.haskell.hopengl
Message-ID <[email protected]>
Hi,

There is stb-image (and bitmap):

http://hackage.haskell.org/package/stb-image
http://hackage.haskell.org/package/bitmap
http://hackage.haskell.org/package/bitmap-opengl

however, the bitmap versions on the Hackage are outdated (and bitmap-opengl
is a bit buggy, but that shouldn't manifest when used only with stb-image).

Quick search on Hackage also reveals the following projects:

http://hackage.haskell.org/package/pngload
http://hackage.haskell.org/package/jpeg
http://hackage.haskell.org/package/Codec-Image-DevIL
http://hackage.haskell.org/package/SDL-image

but I don't know anything about them.

Balazs


2011/3/5 er9999 <[email protected]>

> Hello,
>     Does anyone know a way to read image in? I found a bmp loader, but it
> is a little out of date(I got cannot find module IOExts error.) And it seems
> this module is not the binding of Haskell or Hopengl. Can anyone give me
> some help? Thanks!
>
> -- Yu
>
>
>
> _______________________________________________
> HOpenGL mailing list
> [email protected]
> http://www.haskell.org/mailman/listinfo/hopengl
>
>

_______________________________________________
HOpenGL mailing list
[email protected]
http://www.haskell.org/mailman/listinfo/hopengl