Question: need to write a java program to convert a .dat image (given file) into a .pgm image. pgm image has following attributes as header: P5
need to write a java program to convert a .dat image (given file) into a .pgm image. pgm image has following attributes as header:
P5
width length
gray level value.
.dat file is of format (256x256x8)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
