friday-scale-dct

Scale Friday images with DCT https://github.com/axman6/friday-scale-dct#readme

Latest on Hackage:1.0.0.1

This package is not currently in any snapshots. If you're interested in using it, we recommend adding it to Stackage Nightly. Doing so will make builds more reliable, and allow stackage.org to host generated Haddocks.

BSD3 licensed by Alex Mason, Oleg Grenrus
Maintained by Alex Mason

JuicyPixels-scale-dct

Scale friday images with DCT.

This library is based on the work of Oleg Grenrus on JuicyPixels-scale-dct and improves upon this work be allowing images of any type to be scaled (as long as their underlying pixel components are Integral and 'linear', is not HSV), not just RGBA8 images.

This will probably only work on colour spaces which are "linear", HSV is unlikely to work because hue is is an angle, and taking the DCT of angles probably doesn't make sense.

friday is a Haskell library for manipulating images in a functional way.


Example image

phadej

smaller

phadej

larger

phadej

Changes

1.0.0.0

  • Convert phadej's JuicyPixels based code to use friday
  • Make changes to allow any image type to be resized (this is probably too generous and will break HSV and possibly other colour spaces).

0.1.1.0

  • Bundle missing test file
comments powered byDisqus