Sunday, January 15, 2012

imagefilters (Haskell image filters for GD) v0.1 released

I've just published the first release of my imagefilters package on Hackage. Hopefully some people will find it useful, and I can get some good feedback through the release.

Features
  •  10 image filters
    • Brightness
    • Colorize
    • Contrast
    • Edge Detect
    • Emboss
    • Gaussian Blur
    • Grayscale
    • Invert Color
    • Mean Removal
    • Smoothing
  • Filter utility functions (for custom filters)
    • pixelTransform - for applying per-pixel color adjustments 
    • convolute - for applying convolution matrices. This is used for many of the more "complicated" filters, like Emboss and Gaussian blur
What's missing
  • No pixelate filter, yet
  • No selective blur yet either
  • Filters are only compatible with the GD plugin; I would like to include filters that are compatible with other common imaging plugins
  • The code probably needs some better error handling and also some optimization/cleanup

No comments:

Post a Comment