Changes any supported image's aspect ratio by resizing the original image to create a blured background.
$ pip install -r requirements.txt
usage: reframe [-h] [-i INPUT] [-o OUTPUT] [-a ASPECT] [--save] [--show]
optional arguments:
-h, --help show this help message and exit
-i INPUT, --input INPUT
input image
-o OUTPUT, --output OUTPUT
output image destination. [Defaults to "current\dir\output.png"]
-a ASPECT, --aspect ASPECT
desired aspect ration.
[Defaults to 1]
[Formats d, d.d, d/d, d:d]
[Exemples 1, 1.5, 16/9, 16:9]
--save Save output file.
--show Show output file.
$ python -m reframe -i path/to/image.png --save --show -a 16:9
$ python -m reframe -i tests/test.png -o demo.png --aspect 2 --save