
20 Jan
2005
20 Jan
'05
2:59 p.m.
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/bildf... Greg Buchholz