This simple python function transform the resolution of an image from an aspect ratio to another one. It let you to cut a 16:10 ratio to a 21:9 ratio wallpaper to make it perfect for your 21:9 monitor. (Yes, that's why it was created). And of course it has WTFPL so you can do whatever you want.
This is only a python function, which is the only stable thing in this repository. For the complete program check other branches.
The only file you really need is duckres.py. There are various methods for downloading it:
-
git clone https://github.com/Gr33nHack3r/duckres. -
wget https://raw.githubusercontent.com/Gr33nHack3r/duckres/master/duckres.py -
curl https://raw.githubusercontent.com/Gr33nHack3r/duckres/master/duckres.py > duckres.py
After the installation you can run duckres with:
$ python duckres.py
You can find more info on functionalities and options by running:
$ python duckres.py --help