úÎ@Ð2Repa interface to the DevIL image loading library. provisionalSDon Stewart <dons00@gmail.com> , Raphael Javaux <raphaeljavaux@gmail.comNoneIThe IL monad. Provides statically-guaranteed access to an initialized IL  context. :RGBA and RGB 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:A The image output type is determined by the filename extension.  repa-devil-0.3.1Data.Array.Repa.IO.DevILILImageGreyRGBRGBArunIL readImage writeImage