Name: stb-image Version: 0.1.3 Synopsis: A wrapper around Sean Barrett's JPEG/PNG decoder Description: Partial implementation of JPEG, PNG, TGA, BMP, PSD decoders, with a really simple API. License: PublicDomain License-file: LICENSE Author: Balazs Komuves Maintainer: bkomuves (plus) hackage (at) gmail (dot) com Homepage: http://code.haskell.org/~bkomuves/ Stability: Experimental Category: Codec Tested-With: GHC == 6.10.1, GHC == 6.8.3 Cabal-Version: >= 1.2 Build-Type: Simple Extra-Source-Files: example/viewer.hs Flag splitBase Description: Choose the new smaller, split-up base package. Flag base4 Description: Base-4 uses new exception framework Library if flag(splitBase) Build-Depends: bytestring if flag(base4) Build-Depends: base >= 4 cpp-options: -DBASE_MAJOR_VERSION=4 else Build-Depends: base >= 3 && < 4 cpp-options: -DBASE_MAJOR_VERSION=3 else Build-Depends: base < 3 cpp-options: -DBASE_MAJOR_VERSION=2 Exposed-Modules: Codec.Image.STB Hs-Source-Dirs: . Extensions: ForeignFunctionInterface, CPP ghc-options: -Wall C-Sources: cbits/stb_image.c Include-Dirs: cbits cc-options: -DSTBI_NO_HDR -DSTBI_NO_STDIO -DSTBI_FAILURE_USERMSG