pngs2png

Crates.iopngs2png
lib.rspngs2png
version0.1.0
created_at2025-05-26 17:09:06.597509+00
updated_at2025-05-26 17:09:06.597509+00
descriptionCombine multiple pngs into a single png
homepage
repositoryhttps://github.com/BruceBrown/pngs2png
max_upload_size
id1690063
size39,234
Bruce (BruceBrown)

documentation

README

Pngs2Png -- Combine pngs into a large png

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.

Help

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
Commit count: 2

cargo fmt