Frage

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.

War es hilfreich?

Lösung

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.

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top