úÎGÂ  2Repa interface to the DevIL image loading library. provisionalSDon Stewart <dons00@gmail.com> , Raphael Javaux <raphaeljavaux@gmail.comNone IThe IL monad. Provides statically-guaranteed access to an initialized IL  context. DRGBA, RGB, BGRA and BGR images are 3D repa arrays where indices are  #Z :. row :. column :. color channel". Grey images are 2D repa arrays.  The origin ( Z :. 0 :. 0+) is on the lower left point of the image. Running code in the IL& monad. This is a simple wrapper over IO G that guarantees the DevIL library has been initialized before you run  functions on it. IReads an image into a repa array. It uses directly the C array using the  repa's foreign arrays wrapper.  Example:   main = do ( x <- runIL $ readImage "/tmp/x.png"  .. operations on x .. Note:? The image input type is determined by the filename extension.  Writes an ; to a file. The image array must be represented as foreign  buffers. You can use copyS or copyP to convert the array. Note:@ The image output type is determined by the filename extension. Initialize the library. Allocates a new image name. 9Sets the image name as the current image for processing. 1Loads the image as the current DevIL image name. ,Puts the current image inside a repa array. 3Copies the repa array to the current image buffer. Saves the current image. !Releases an image with its name. 1 !"#$%& '()*+,-./0   * !"#$%& '()*+,-./01      !"#$%&'()*+,-./01repa-devil-0.3.2.2Data.Array.Repa.IO.DevILILImageGreyBGRBGRARGBRGBArunIL readImage writeImageilInitilGenImageName ilBindImage ilLoadImagetoRepafromRepa ilSaveImage ilDeleteImage ImageNameILubyteILintILenum ILbooleanILsizeiILuintilDeleteImagesC ilSaveImageC ilTexImageC ilGetDataCilConvertImageC ilGetIntegerC ilLoadImageC ilBindImageC ilGenImagesC ilEnableC ilOriginFuncCilInitCil_RGBil_RGBAil_BGRil_BGRA il_LUMINANCEil_IMAGE_HEIGHTil_IMAGE_WIDTHil_IMAGE_FORMAT il_IMAGE_TYPEil_UNSIGNED_BYTE