hip

Haskell Image Processing (HIP) Library.

https://github.com/lehins/hip

Version on this page:1.3.0.0
LTS Haskell 20.26:1.5.6.0
Stackage Nightly 2022-11-17:1.5.6.0
Latest on Hackage:1.5.6.0

See all snapshots hip appears in

BSD-3-Clause licensed by Alexey Kuleshevich
Maintained by [email protected]
This version can be pinned in stack with:hip-1.3.0.0@sha256:c9b514dc805e6f5d78db64e0a571c2b695cfaacdc5d3ade333b72affa695b8a0,5394

Haskell Image Processing Library

Haskell Image Processing (HIP) Library

Documentation is on Hackage, and Stackage.

Build Status Hackage

Installation

Install HIP using cabal:

  • $ cabal update && cabal install hip

and using stack:

  • $ stack install hip

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.3.0.0

  • Significantly simplified interface:
    • Removed ManifestArray, SequentialArray and MutableArray classes in favor of MArray.
  • Rewrite of Repa image representations. Removed RD representation.
  • Introduced function canvasSize.

1.2.0.0

  • Changed Interpolation in a way that border resolution is supplied separatly from the method.
  • Introduced function translate.
  • Added a better test suite. Improved coverage.
  • Fixed a bug with border resolution strategy Continue.
  • Added better error messaging for border checks.

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.
  • Renamed module Graphics.Image.IO.External to Graphics.Image.IO.Formats, so it reflects the purpose slightly better.

1.0.1.2

  • Added support of “vector>=0.11.0.0”

1.0.1.1

  • Added rotate function.
  • Fixed writing RGBA files with writeImage (#2).

1.0.1

  • Made it compatible with GHC >= 7.4 (#1)
  • Added histogram plotting using Charts