[HOpenGL] Load image for texture mapping
Balazs Komuves
bkomuves at gmail.com
Sat Mar 5 14:28:08 CET 2011
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 <er9999 at 126.com>
> 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
> HOpenGL at haskell.org
> http://www.haskell.org/mailman/listinfo/hopengl
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.haskell.org/pipermail/hopengl/attachments/20110305/6d095d4a/attachment.htm>
More information about the HOpenGL
mailing list