1

I need to read a PGM image and get its points in Java. Anyone knows a good library to do that?

I have to display an image with PGM format and then get the values from that image to draw a path with A*.

Cumps.

arturataide
  • 363
  • 2
  • 11

1 Answers1

2

PGM is a simple format. You can read it manually.

It's specification is given here.

Also, this provides code to read it and display on a Component.

Good luck.

Tanmay Patil
  • 6,882
  • 2
  • 25
  • 45