| Crates.io | pngs2png |
| lib.rs | pngs2png |
| version | 0.1.0 |
| created_at | 2025-05-26 17:09:06.597509+00 |
| updated_at | 2025-05-26 17:09:06.597509+00 |
| description | Combine multiple pngs into a single png |
| homepage | |
| repository | https://github.com/BruceBrown/pngs2png |
| max_upload_size | |
| id | 1690063 |
| size | 39,234 |
I wrote this to provide a means of easily displaying a collection of badges from jenkins into slack. Unfortunately, slack is limited in its rendering and sending and svg fails to render, and sedding lots of png is ugly. This allows me to combining stage badges into a single image.
This crate is heavily dependent upon the the image and image-merger crates. The png badges are layed out on a fixed size grid. This is a limitation of image-merger. When that limitation is removed, I'll consider laying out the images in a tighter formation.
pngs2png --help`
Combine multiple pngs into a single png
Usage: pngs2png [OPTIONS] --outfile <>
Options:
-x, --horizontal-separation <> horizontal padding between images
-y, --vertical-separation <> vertical padding between images
-r, --images-per-row <> images per row
-p, --png <> png image path, may be repeated
-o, --outfile <> png output image path
-h, --help Print help
-V, --version Print version