About

Metadata

  • Last updated , by AlexMason
  • License BSD-3-Clause
  • Categories Graphics
  • Maintained by: Alex Mason <axman6@gmail.com>

  • Lottery factor: 0

Links

Installation

Package Flags

Use the -f option with cabal commands to enable flags

    example (off by default)

    Build the example application.

Readme

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