ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
0

Save nav_msgs/OccupancyGrid as png

asked 2017-06-19 13:52:04 -0500

mmy227 gravatar image

Hi,

map_server saves an occupancy grid as a pgm, but is there a way to save the map as a png?

Thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2017-06-19 17:27:34 -0500

ahendrix gravatar image

You can convert the pgm to a png with gimp, photoshop, or the convert command-line tool. (sudo apt-get install imagemagick ; convert map.pgm map.png )

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2017-06-19 13:52:04 -0500

Seen: 1,933 times

Last updated: Jun 19 '17