read image file - and process the result

A

Alx

I'd like to read an image file - in PBM/PGM format, to perform some
processing on the image itself.
I didnt find exactly what I need on CPAN:
Image::Magick looks powerful, but it seems to let you read and apply
the manipulation methods that itself provides - I'd like instead to
just get a beautiful array @image=(00,FF,CC,...) with pixel color
values.
Do you happen to know what I could use?

Thanks a lot...


Alessandro Magni
 
G

Gran

Alx said:
I'd like to read an image file - in PBM/PGM format, to perform some
processing on the image itself.
I didnt find exactly what I need on CPAN:
Image::Magick looks powerful, but it seems to let you read and apply
the manipulation methods that itself provides - I'd like instead to
just get a beautiful array @image=(00,FF,CC,...) with pixel color
values.
Do you happen to know what I could use?

How about gimp-perl?
 
A

Alx

How about gimp-perl?

thanks for the suggestion - but at last I noticed it was an overkill.
PPM format is a well documented sequence of RGB ascii values: I just
wrote down the routine that reads them all in a 2D array of hashes.

Thanks!

Alessandro
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,164
Messages
2,570,898
Members
47,439
Latest member
shasuze

Latest Threads

Top