basic operation

well to start with we will use a PNM file to read, as its simple to read.

Open source platform has developed an image editing GUI tool

GIMP:GNU Image Manipulation Program .

It is also avilable for windows environment.And both version of GIMP is free.

It can be downloaded from internet.

Any image file can be converted to any other existing format that GIMP supports.

so for our operation pick any image file and convert it to .pnm file.

It can be done like this....

  • open

GIMP-> file->open

and select desired image

  • now save as .pnm file -> data formatting ASCII
  • this will give u file readable in ur c codes.
  • as described on other pages this file will contain pixel values according to colour or grey image.
  • now your objective is to read the content of file...............its reading image ...!!!!!!!!!!!