Pregunta

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.

¿Fue útil?

Solución

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.

Licenciado bajo: CC-BY-SA con atribución
No afiliado a StackOverflow
scroll top