Repository navigation
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 120pxadds exactly 120 pixels at the bezel's native scale. Percentages go up to 100%.- The padding takes the
--backgroundcolor, or stays transparent when there is no background. - Padding goes on before
--output-sizescales the image, so--output-size 1920still gives you a 1920-pixel-wide file. - It works for screenshots and for video, including the
--webmcopy. - 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.