Center an image about a specific point adding space to the borders.
Create a virtualenv:
virtualenv-3.7 cen-env source cen-env/bin/activate
Before running the examples:
Start mobaxterm source cen-env/bin/activate cd examples
Do the following:
python hello.py
A small window will pop up.
Do the following:
python image_gif.py
A gif file will be displayed.
Do the following:
python image_png.py
A png file will be displayed.
Next is to add white space padding (already computed) to recenter the image.
google imagemagick add white space