Efficiently scale, crop, flip images with JuicyPixels


Version on this page:0.5.2
LTS Haskell 22.29:0.6.0
Stackage Nightly 2024-07-21:0.6.0
Latest on Hackage:0.6.0

See all snapshots JuicyPixels-extra appears in

BSD-3-Clause licensed and maintained by Mark Karpov
This version can be pinned in stack with:JuicyPixels-extra-0.5.2@sha256:093a3a76d5f969b0a24686a4e3948960d0f2131b1eac33a33a6ae760760f6d7f,2202

Module documentation for 0.5.2

Depends on 2 packages(full list with versions):

Juicy Pixels Extra

License BSD3 Hackage Stackage Nightly Stackage LTS CI

A collection of functions to scale, crop, flip images with JuicyPixels.


Issues, bugs, and questions may be reported in the GitHub issue tracker for this project.

Pull requests are also welcome.


Copyright © 2016–present Mark Karpov

Distributed under BSD 3 clause license.


Juicy Pixels Extra 0.5.2

  • Replacing CPP preprocessing rules with expicit SPECIALIZE pragmas. See PR 26.

Juicy Pixels Extra 0.5.1

  • scaleBilinear no longer hangs when the target width or height is 0. Issue 24.

Juicy Pixels Extra 0.5.0

  • Changed how edge pixels are calculated when scaling via bilinear interpolation is used. See PR 21.

  • Dropped support for GHC 8.2 and older.

Juicy Pixels Extra 0.4.1

  • Fixed left rotation so that rotateLeft90 . rotateRight90 is now identity function.

  • Dropped support for GHC 7.10.

Juicy Pixels Extra 0.4.0

  • Fix scaleBilinear so it works correctly with images that have 16-bit components.

Juicy Pixels Extra 0.3.0

  • Made the function scaleBilinear polymorphic in pixel type.

Juicy Pixels Extra 0.2.2

  • Fixed a bug in the crop function related to incorrect calculation of new height in some cases.

Juicy Pixels Extra 0.2.1

  • Documentation improvements.

Juicy Pixels Extra 0.2.0

  • Added rotate180, beside, and below.

Juicy Pixels Extra 0.1.1

  • Added benchmarks.

  • Considerably improved performance of all functions (they are about ×15 faster now).

Juicy Pixels Extra 0.1.0

  • Initial release.