[Haskell-cafe] PPM image manipulation

Jared Updike jupdike at gmail.com
Sun Apr 2 14:33:15 EDT 2006

> having some trouble trying to be able to manipulate PPM images.  I want to be
> able to desaturate and also double the scale of them. im a first time user
> of haskell so am not very familiar with it. any info would be great! thanks!

Nothing wrong with asking for help, but before you do, please read:
After you read that and follow its advice, we would love to help with
*specific* questions (code help or algorithms, for example).

I have a few questions for you: Do you understand how to do these
image manipulations, for example, in another programming language? Are
you confused about how to do this in Haskell? Or both?

If these manipulations are difficult, try something simple, like
inverting the image or keeping only the red channel (zero out blue and
green), anything to make sure you have a handle on the code.


P.S. After googling around for "haskell image manipulation" (in the
hopes of finding some Haskell image lib like VIPS [1] or the Python
Imaging Library [2]), I found the assignment spoken of
just so everyone knows. BTW, does Haskell have an imaging library that
people usually turn to? (Or should I add that to my list of cool
projects that I need to get around to ...)

[1] http://www.vips.ecs.soton.ac.uk/
[2] http://www.pythonware.com/products/pil/

reverse ")-:"

More information about the Haskell-Cafe mailing list