Skip to content

bezelbub CLI 1.5.0

Latest

Choose a tag to compare

@cwooddgr cwooddgr released this 18 Oct 17:47
· 4 commits to main since this release

frame can now add padding around the device.

Padding

  • --padding 10% adds space on every side equal to 10% of the bezel's longer side. --padding 120px adds exactly 120 pixels at the bezel's native scale. Percentages go up to 100%.
  • The padding takes the --background color, or stays transparent when there is no background.
  • Padding goes on before --output-size scales the image, so --output-size 1920 still gives you a 1920-pixel-wide file.
  • It works for screenshots and for video, including the --webm copy.
  • A malformed value exits with code 1, the same as a bad --background.

Example: bezelbub frame --input shot.png --background "#FFFFFF" --padding 10%

Install or upgrade: brew install cwooddgr/tap/bezelbub or brew upgrade bezelbub.