{"id":29021671,"url":"https://github.com/mapiv/ros2_bag_to_image","last_synced_at":"2025-06-26T02:07:32.114Z","repository":{"id":186899545,"uuid":"675486370","full_name":"MapIV/ros2_bag_to_image","owner":"MapIV","description":"Set of nodes to convert either online of offline image messages to image files","archived":false,"fork":false,"pushed_at":"2025-03-27T04:11:37.000Z","size":30,"stargazers_count":46,"open_issues_count":2,"forks_count":15,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-27T05:23:08.378Z","etag":null,"topics":["ros2"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/MapIV.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2023-08-07T03:25:58.000Z","updated_at":"2025-03-27T04:11:41.000Z","dependencies_parsed_at":"2025-03-27T05:21:25.746Z","dependency_job_id":"29650120-4cb6-4e6c-8216-ce7cbd5f55e9","html_url":"https://github.com/MapIV/ros2_bag_to_image","commit_stats":null,"previous_names":["mapiv/ros2_bag_to_image"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/MapIV/ros2_bag_to_image","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MapIV%2Fros2_bag_to_image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MapIV%2Fros2_bag_to_image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MapIV%2Fros2_bag_to_image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MapIV%2Fros2_bag_to_image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/MapIV","download_url":"https://codeload.github.com/MapIV/ros2_bag_to_image/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/MapIV%2Fros2_bag_to_image/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261984645,"owners_count":23240305,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ros2"],"created_at":"2025-06-26T02:07:26.936Z","updated_at":"2025-06-26T02:07:32.088Z","avatar_url":"https://github.com/MapIV.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# ROS2 BAG to image\n\n## Topic to Image\n\nSubscribes to a ROS2 Image topic and stores received messages to PNG files.\n\nHow to launch:\n```\nros2 launch ros2_bag_to_image topic_to_image.xml \\\n    input/topic:=/camera/image_rect compressed:=True\n```\n\nThe images are exported in lossless PNG format.\n\nSet `compressed` to `True` to subscribe to a compressed image_transport.\n\n### Parameters\n| Parameter       | Default      | Description                        |\n|-----------------|--------------|------------------------------------|\n| `input/topics`  | `/image_raw` | ROS2 Topic to subscribe            |\n| `output/path`   | `/tmp/`      | Path where to store the PNG files. |\n| `output/prefix` |              | Text to prepend to the output file |\n\n## BAG To Image\n\nOpens, reads, extracts and saves `sensor_msgs/msg/Image` or `sensor_msgs/msg/CompressedImages` from Ros2 bag.\n\nStores all the topics in the defined output path, names the images as:\n`topic_name_stampsecs_stampnsecs.png`\n\nThe images are exported in lossless PNG format.\n\nHow to launch:\n```bash\n$ ros2 launch ros2_bag_to_image bag_to_image.xml \\\n        input/path:=/PATH_TO/input_bag/ \\\n        input/topics:=\"['camera1/image_rawcompressed', 'camera2/image_raw']\"\n```\n\n### Parameters\n| Parameter              | Default   | Description                                                         |\n|------------------------|-----------|---------------------------------------------------------------------|\n| `input/path`           |           | Input Rosbag Path                                                   |\n| `input/bag_format`     | `cdr`     | Path where to store the PNG files.                                  |\n| `input/bag_storage_id` | `sqlite3` | Text to prepend to the output file                                  |\n| `input/topics`         |           | List of Input Topics in the form `\"['topic1', 'topic2', 'topicN']\"` |\n| `output/path`          | `/tmp/`   | Output path PNG files                                               |\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapiv%2Fros2_bag_to_image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmapiv%2Fros2_bag_to_image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmapiv%2Fros2_bag_to_image/lists"}