Scale Friday images with DCT https://github.com/axman6/friday-scale-dct#readme
|Latest on Hackage:||184.108.40.206|
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.
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
Integraland '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.
- 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).
- Bundle missing test file