need to write a java program to convert a .dat image (givenfile) into a .pgm image. pgm image has following attributes asheader:
P5
width length
gray level value.
.dat file is of format (256x256x8)
Expert Answer
An answer will be send to you shortly. . . . .