[Haskell-cafe] Pixel by pixel image processing

Geraldus heraldhoi at gmail.com
Wed Jun 3 07:19:04 UTC 2015


Hi cafe!

I want to do some trivial masking manipulation on PNG images: take a
picture, crop it to square shape and then make a circular mask, i.e. take
all pixels that lies outside circle with radius equal to half of image
width and placed at image center and replace that pixels with zero opacity
once (hope this description is clear enough).

I've found two packages for image processing so far: `friday` [1] and
`unm-hip` [2], but can't figure out which of them suits my needs, maybe
there are some other packages I miss?

[1] https://hackage.haskell.org/package/friday
[2] https://hackage.haskell.org/package/unm-hip
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/haskell-cafe/attachments/20150603/63228484/attachment.html>


More information about the Haskell-Cafe mailing list