[Haskell-cafe] Reading images (PGM)
Greg Buchholz
haskell at sleepingsquirrel.org
Thu Jan 20 14:59:57 EST 2005
Dmitri Pissarenko wrote:
> I need to write a function in Haskell, which
>
> 1) reads a greyscale image (for instance, in JPEG, PNG or the like) and
If you can specify any image format you want, and you're not
concerned with efficiency, you can't beat the simplicity of the
portrable greymap (PGM) file format. You read in a simple header with
the dimensions of the image, and one 8 bit character per pixel.
http://www-info2.informatik.uni-wuerzburg.de/mitarbeiter/wolfram/lehre/bildformate.html
Greg Buchholz
More information about the Haskell-Cafe
mailing list