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

Save nav_msgs/OccupancyGrid as png

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

mmy227 gravatar image


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


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

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


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

Seen: 1,725 times

Last updated: Jun 19 '17