and using stack (from source code only, not yet on stackage):
$ stack install
In order to be able to view images in GHCi and external image viewer is used. On
Linux I recommend GPicView, but you can use any viewer that accepts a filename
as an argument, so by default OS specific image viewer is used.
Changes
1.1.0.1
Backwards compatibility with GHC 7.8
1.1.0.0
GHC 8 support.
Improved IO:
OS default image viewer is used for displaying images with ability to use a custom one.
Histogram plotting is done using diagrams instead of cairo backend,
significantly simplifying installation
1.0.2.0
Changed the way image displaying works. Now displayImage function will try
to automatically detect the default external viewer program.
Made Histogram plotting using Chart dependency optional, which is controlled
by a compile time flag use-chart.
Renamed module Graphics.Image.IO.External to Graphics.Image.IO.Formats,
so it reflects the purpose slightly better.